summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 426ab67)
raw | patch | inline | side by side (parent: 426ab67)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 2 Sep 2009 09:14:04 +0000 (09:14 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 2 Sep 2009 09:14:04 +0000 (09:14 +0000) |
-Fixed send method to respect periodical tag.
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14190 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14190 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 05817d193f7d32b2c8cc65a523ee8e718c386ee6..7f21eed9245f1a63705786425590700df9426da2 100644 (file)
/* Prepare data */
foreach ($data as $key => $value){
if(is_array($value)){
- foreach($value as $sub_value){
- $xml_message.= "<$key>$sub_value</$key>";
+ if($key == "periodic"){
+ foreach($value as $sub_name => $sub_value){
+ $xml_message.= "<periodic>$sub_name</periodic>";
+ $xml_message.= "<$sub_name>$sub_value</$sub_name>";
+ }
+ }else{
+ foreach($value as $sub_value){
+ $xml_message.= "<$key>$sub_value</$key>";
+ }
}
}else{
$xml_message.= "<$key>$value</$key>";