From: hickert Date: Fri, 25 Jan 2008 08:49:02 +0000 (+0000) Subject: Fixed get entry method X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=2ad7523fc2dca5b4da13337117c44e66a5696b5f;p=gosa.git Fixed get entry method git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8602 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_gosaSupportDaemon.inc b/gosa-core/include/class_gosaSupportDaemon.inc index ae9eb8b1b..a72a58537 100644 --- a/gosa-core/include/class_gosaSupportDaemon.inc +++ b/gosa-core/include/class_gosaSupportDaemon.inc @@ -279,7 +279,7 @@ class gosaSupportDaemon trigger_error("Requires an integer as parameter."); return; } - + $this->b_error = FALSE; $this->s_error = ""; $ret = array(); @@ -298,7 +298,7 @@ class gosaSupportDaemon $this->o_sock->write($xml_msg); $str = trim($this->o_sock->read()); $entries = $this->xml_to_array($str); - if(!isset($entries['XML']['ANSWER1'])){ + if(isset($entries['XML']['ANSWER1'])){ $ret = $entries['XML']['ANSWER1']; } }