From: hickert Date: Wed, 2 Sep 2009 09:14:04 +0000 (+0000) Subject: Updated goto masses handling. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=70cfb66e6520d419e04651e9fd4cf5d096bda304;p=gosa.git Updated goto masses handling. -Fixed send method to respect periodical tag. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14190 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_gosaSupportDaemon.inc b/gosa-core/include/class_gosaSupportDaemon.inc index 05817d193..7f21eed92 100644 --- a/gosa-core/include/class_gosaSupportDaemon.inc +++ b/gosa-core/include/class_gosaSupportDaemon.inc @@ -935,8 +935,15 @@ class gosaSupportDaemon /* Prepare data */ foreach ($data as $key => $value){ if(is_array($value)){ - foreach($value as $sub_value){ - $xml_message.= "<$key>$sub_value"; + if($key == "periodic"){ + foreach($value as $sub_name => $sub_value){ + $xml_message.= "$sub_name"; + $xml_message.= "<$sub_name>$sub_value"; + } + }else{ + foreach($value as $sub_value){ + $xml_message.= "<$key>$sub_value"; + } } }else{ $xml_message.= "<$key>$value";