Commit 7a2022928762f3bc396663a533a764a5ce091256

Authored by Paul Barrett
1 parent ae4f1e29

Fix bug in uri template creation

Story ID:2713417. CMIS working with PHP client

Committed by: Paul Barrett
webservice/classes/atompub/cmis/KT_cmis_atom_serviceDoc.inc.php
... ... @@ -127,7 +127,7 @@ class KT_cmis_atom_serviceDoc extends KT_atom_serviceDoc {
127 127  
128 128 $uriTemplate = $this->newElement('cmisra:uritemplate');
129 129 $uriTemplate->appendChild($this->newElement('cmisra:template', $content['template']));
130   - $uriTemplate->appendChild($this->newElement('cmisra:type', $content));
  130 + $uriTemplate->appendChild($this->newElement('cmisra:type', $templateType));
131 131 $uriTemplate->appendChild($this->newElement('cmisra:mediatype', $content['mediatype']));
132 132  
133 133 return $uriTemplate;
... ...