Commit 7a2022928762f3bc396663a533a764a5ce091256
1 parent
ae4f1e29
Fix bug in uri template creation
Story ID:2713417. CMIS working with PHP client Committed by: Paul Barrett
Showing
1 changed file
with
1 additions
and
1 deletions
webservice/classes/atompub/cmis/KT_cmis_atom_serviceDoc.inc.php
| @@ -127,7 +127,7 @@ class KT_cmis_atom_serviceDoc extends KT_atom_serviceDoc { | @@ -127,7 +127,7 @@ class KT_cmis_atom_serviceDoc extends KT_atom_serviceDoc { | ||
| 127 | 127 | ||
| 128 | $uriTemplate = $this->newElement('cmisra:uritemplate'); | 128 | $uriTemplate = $this->newElement('cmisra:uritemplate'); |
| 129 | $uriTemplate->appendChild($this->newElement('cmisra:template', $content['template'])); | 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 | $uriTemplate->appendChild($this->newElement('cmisra:mediatype', $content['mediatype'])); | 131 | $uriTemplate->appendChild($this->newElement('cmisra:mediatype', $content['mediatype'])); |
| 132 | 132 | ||
| 133 | return $uriTemplate; | 133 | return $uriTemplate; |