From: hickert Date: Tue, 15 Apr 2008 12:12:02 +0000 (+0000) Subject: Updated kernel SI module X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f8e36a591d07ee938ed4b6239a592cfbfbef8a90;p=gosa.git Updated kernel SI module git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10468 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_gosaSupportDaemon.inc b/gosa-core/include/class_gosaSupportDaemon.inc index dbdd47a75..0d86efe43 100644 --- a/gosa-core/include/class_gosaSupportDaemon.inc +++ b/gosa-core/include/class_gosaSupportDaemon.inc @@ -162,12 +162,12 @@ class gosaSupportDaemon } /* Unset header tags */ - foreach(array("HEADER","SOURCE","TARGET","SESSION_ID") as $type){ - if(isset($entries['XML'][$type])){ - unset($entries['XML'][$type]); + $ret = $entries['XML']; + foreach($ret as $key => $entry){ + if(!preg_match("/^answer/i",$key)){ + unset($ret[$key]); } } - $ret = $entries['XML']; } } }