From f8e36a591d07ee938ed4b6239a592cfbfbef8a90 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 15 Apr 2008 12:12:02 +0000 Subject: [PATCH] Updated kernel SI module git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10468 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_gosaSupportDaemon.inc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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']; } } } -- 2.30.2