Commit b712449a77f26da677ed9e0c03dceacf78b09d57

Authored by Paul Barrett
1 parent 3fa384c0

Fixed issue with CMISSpaces folder recognition

Committed by: Paul Barrett
webservice/atompub/cmis/KT_cmis_atom_service_helper.inc.php
... ... @@ -263,10 +263,10 @@ class KT_cmis_atom_service_helper {
263 263 // NOTE KnowledgeTree currently only supports base types so these are not important at the present time.
264 264  
265 265 // links
266   -// $link = $feed->newElement('link');
267   -// $link->appendChild($feed->newAttr('rel','self'));
268   -// $link->appendChild($feed->newAttr('href', CMIS_APP_BASE_URI . $feed->workspace . '/type/' . strtolower($type['typeId'])));
269   -// $entry->appendChild($link);
  266 + $link = $feed->newElement('link');
  267 + $link->appendChild($feed->newAttr('rel','self'));
  268 + $link->appendChild($feed->newAttr('href', CMIS_APP_BASE_URI . $feed->workspace . '/type/' . strtolower($type['typeId'])));
  269 + $entry->appendChild($link);
270 270 // TODO type link MUST point to base type
271 271 // KnowledgeTree currently only supports base types so this is not important
272 272 // at the present time as it will always point at the base type.
... ...