From: hickert Date: Thu, 24 Apr 2008 13:45:06 +0000 (+0000) Subject: Updated get principal function X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e30f55b616a74fe21c58434780da5572a9fac53b;p=gosa.git Updated get principal function git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10675 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_gosaSupportDaemon.inc b/gosa-core/include/class_gosaSupportDaemon.inc index e4772236c..657d8a027 100644 --- a/gosa-core/include/class_gosaSupportDaemon.inc +++ b/gosa-core/include/class_gosaSupportDaemon.inc @@ -1233,7 +1233,12 @@ class gosaSupportDaemon "".$server."". ""; - return($this->_send($xml_msg,TRUE)); + $tmp = $this->_send($xml_msg,TRUE); + if(isset($tmp['XML']['PRINCIPAL'])){ + return($tmp['XML']['PRINCIPAL']); + }else{ + return($res); + } }