summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d6e1247)
raw | patch | inline | side by side (parent: d6e1247)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 15 Apr 2008 12:12:02 +0000 (12:12 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 15 Apr 2008 12:12:02 +0000 (12:12 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10468 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_gosaSupportDaemon.inc | patch | blob | history |
diff --git a/gosa-core/include/class_gosaSupportDaemon.inc b/gosa-core/include/class_gosaSupportDaemon.inc
index dbdd47a7591a33f362159a4f9b2953edf38fbee7..0d86efe43e9a3160f782c166089f5fc541571281 100644 (file)
}
/* 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'];
}
}
}