From e30f55b616a74fe21c58434780da5572a9fac53b Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 24 Apr 2008 13:45:06 +0000 Subject: [PATCH] Updated get principal function git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10675 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_gosaSupportDaemon.inc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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); + } } -- 2.30.2