From 70cfb66e6520d419e04651e9fd4cf5d096bda304 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 2 Sep 2009 09:14:04 +0000 Subject: [PATCH] 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 --- gosa-core/include/class_gosaSupportDaemon.inc | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) 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"; -- 2.30.2