Code

Fixed typo
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 30 Jan 2008 09:04:36 +0000 (09:04 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 30 Jan 2008 09:04:36 +0000 (09:04 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8651 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_gosaSupportDaemon.inc

index 98b568701a99f042a045e1ee26312fa40146d59d..bf8de50059f4a44851b1534a96afa63576fe6e70 100644 (file)
@@ -544,12 +544,12 @@ class gosaSupportDaemon
 
     if($this->connect()){
       $this->o_sock->write($data);
-      if ($answer_exepcted){
-       $str = trim($this->o_sock->read());
-       $entries = $this->xml_to_array($str);
-       if(isset($entries['XML']) && is_array($entries['XML'])){
-         $ret = $entries; 
-       }
+      if ($answer_expected){
+        $str = trim($this->o_sock->read());
+        $entries = $this->xml_to_array($str);
+        if(isset($entries['XML']) && is_array($entries['XML'])){
+          $ret = $entries; 
+        }
       }
     }
     return($ret);