From 19d493ac19ed9b57d3e6f14b7151715481452437 Mon Sep 17 00:00:00 2001 From: cajus Date: Wed, 27 Feb 2008 07:30:32 +0000 Subject: [PATCH] Updated support daemon git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9141 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_gosaSupportDaemon.inc | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) 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); } -- 2.30.2