From: hickert Date: Fri, 20 Jun 2008 09:47:02 +0000 (+0000) Subject: Updated gosaSupportDaemon X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c1c2e2d2ff18abf71a6bb154a0859e659f22c5e7;p=gosa.git Updated gosaSupportDaemon -Also extract in-tag attributes while parsing SI answers. eg. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11393 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_gosaSupportDaemon.inc b/gosa-core/include/class_gosaSupportDaemon.inc index 8e5704293..6c1fd8960 100644 --- a/gosa-core/include/class_gosaSupportDaemon.inc +++ b/gosa-core/include/class_gosaSupportDaemon.inc @@ -827,6 +827,13 @@ class gosaSupportDaemon } if ($xml_elem['type'] == 'complete') { + $start_level = 1; + $test2 = &$params; + while($start_level < $xml_elem['level']) { + $test2 = &$test2[$level[$start_level]]; + $start_level++; + } + /* Save tag attributes too. e.g. */ @@ -836,12 +843,6 @@ class gosaSupportDaemon } } - $start_level = 1; - $test2 = &$params; - while($start_level < $xml_elem['level']) { - $test2 = &$test2[$level[$start_level]]; - $start_level++; - } if(!isset($test2[$xml_elem['tag']])){ if(isset($xml_elem['value'])){ $test2[$xml_elem['tag']] = $xml_elem['value'];