From 0044cd6a19914c47570c2e9d827b760c0cefd75d Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Mon, 22 Apr 2024 17:47:11 +0200 Subject: [PATCH] fix adding workflow log --- utils/xmldump.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/utils/xmldump.php b/utils/xmldump.php index e85ef09fa..6eb1520e3 100644 --- a/utils/xmldump.php +++ b/utils/xmldump.php @@ -201,7 +201,7 @@ function tree($folder, $parent=null, $indent='', $skipcurrent=false) { /* {{{ */ if($attributes = $folder->getAttributes()) { foreach($attributes as $attribute) { $attrdef = $attribute->getAttributeDefinition(); - echo $indent." getID()."\">".wrapWithCData($attribute->getValue())."\n"; + echo $indent." getID()."\">".wrapWithCData($attribute->getValueAsString())."\n"; } } $notifications = $folder->getNotifyList(); @@ -276,7 +276,7 @@ function tree($folder, $parent=null, $indent='', $skipcurrent=false) { /* {{{ */ if($attributes = $document->getAttributes()) { foreach($attributes as $attribute) { $attrdef = $attribute->getAttributeDefinition(); - echo $indent." getID()."\">".wrapWithCData($attribute->getValue())."\n"; + echo $indent." getID()."\">".wrapWithCData($attribute->getValueAsString())."\n"; } } @@ -332,7 +332,7 @@ function tree($folder, $parent=null, $indent='', $skipcurrent=false) { /* {{{ */ if($attributes = $version->getAttributes()) { foreach($attributes as $attribute) { $attrdef = $attribute->getAttributeDefinition(); - echo $indent." getID()."\">".wrapWithCData($attribute->getValue())."\n"; + echo $indent." getID()."\">".wrapWithCData($attribute->getValueAsString())."\n"; } } if($statuslog = $version->getStatusLog()) { @@ -459,9 +459,11 @@ function tree($folder, $parent=null, $indent='', $skipcurrent=false) { /* {{{ */ } /* }}} */ include($myincpath."/inc/inc.Settings.php"); +include($myincpath."/inc/inc.Utils.php"); include($myincpath."/inc/inc.Init.php"); include($myincpath."/inc/inc.Extension.php"); include($myincpath."/inc/inc.DBInit.php"); +include($myincpath."/inc/inc.ClassAcl.php"); if(!$folderid) { $folderid = $settings->_rootFolderID;