Code

Fixed get entry method
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 25 Jan 2008 08:49:02 +0000 (08:49 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 25 Jan 2008 08:49:02 +0000 (08:49 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8602 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_gosaSupportDaemon.inc

index ae9eb8b1bfaf1919d49ba94fe7ac4b6e4fc0695e..a72a58537569307ff52fa2b8fd1530079c256b8f 100644 (file)
@@ -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'];
       }
     }