summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3d31b36)
raw | patch | inline | side by side (parent: 3d31b36)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 30 Jan 2008 09:04:36 +0000 (09:04 +0000) | ||
committer | cajus <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 | patch | blob | history |
diff --git a/gosa-core/include/class_gosaSupportDaemon.inc b/gosa-core/include/class_gosaSupportDaemon.inc
index 98b568701a99f042a045e1ee26312fa40146d59d..bf8de50059f4a44851b1534a96afa63576fe6e70 100644 (file)
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);