From: cajus Date: Wed, 27 Feb 2008 07:30:32 +0000 (+0000) Subject: Updated support daemon X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=19d493ac19ed9b57d3e6f14b7151715481452437;p=gosa.git Updated support daemon git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9141 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_gosaSupportDaemon.inc b/gosa-core/include/class_gosaSupportDaemon.inc index 51a7160a8..e9d731895 100644 --- a/gosa-core/include/class_gosaSupportDaemon.inc +++ b/gosa-core/include/class_gosaSupportDaemon.inc @@ -607,7 +607,19 @@ $xml_msg.= " $xml_message.= "<$key>$value"; } - return $d->_send("
$header
GOSA$to".$xml_message."
",$answer_expected); + /* Multiple targets? */ + if (!is_array($to)){ + $to_targets= array($to); + } else { + $to_targets= $to; + } + + /* Build target strings */ + foreach($to_target as $to){ + $target.= "$to"; + } + + return $d->_send("
$header
GOSA$target".$xml_message."
",$answer_expected); }