From b712449a77f26da677ed9e0c03dceacf78b09d57 Mon Sep 17 00:00:00 2001 From: Paul Barrett Date: Wed, 15 Jul 2009 05:58:38 +0200 Subject: [PATCH] Fixed issue with CMISSpaces folder recognition --- webservice/atompub/cmis/KT_cmis_atom_service_helper.inc.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/webservice/atompub/cmis/KT_cmis_atom_service_helper.inc.php b/webservice/atompub/cmis/KT_cmis_atom_service_helper.inc.php index b9d0a92..054ad39 100644 --- a/webservice/atompub/cmis/KT_cmis_atom_service_helper.inc.php +++ b/webservice/atompub/cmis/KT_cmis_atom_service_helper.inc.php @@ -263,10 +263,10 @@ class KT_cmis_atom_service_helper { // NOTE KnowledgeTree currently only supports base types so these are not important at the present time. // links -// $link = $feed->newElement('link'); -// $link->appendChild($feed->newAttr('rel','self')); -// $link->appendChild($feed->newAttr('href', CMIS_APP_BASE_URI . $feed->workspace . '/type/' . strtolower($type['typeId']))); -// $entry->appendChild($link); + $link = $feed->newElement('link'); + $link->appendChild($feed->newAttr('rel','self')); + $link->appendChild($feed->newAttr('href', CMIS_APP_BASE_URI . $feed->workspace . '/type/' . strtolower($type['typeId']))); + $entry->appendChild($link); // TODO type link MUST point to base type // KnowledgeTree currently only supports base types so this is not important // at the present time as it will always point at the base type. -- libgit2 0.21.4