Code

Updated list of fetched attributes
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 23 Apr 2008 13:57:17 +0000 (13:57 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 23 Apr 2008 13:57:17 +0000 (13:57 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10658 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_gosaSupportDaemon.inc

index 3b07b10c8b92396d3bd69ca238981a006836f0d0..b10d506dcd3ca3e1fe54727aee84344a1ea39607 100644 (file)
@@ -1404,12 +1404,17 @@ class gosaSupportDaemon
       "<target>".$server."</target>".
       "</xml>";
 
+    /* Possible attributes */
+    $attrs = array("MASK","POLICY","PW_HISTORY_NUM","PW_MAX_LIFE",
+        "PW_MIN_CLASSES","PW_MIN_LENGTH","PW_MIN_LIFE","REF_COUNT");
+
     $tmp = $this->_send($xml_msg,TRUE);
     if(isset($tmp['XML'])){
-      $attrs = array("MASK","POLICY_REFCNT","PW_HISTORY_NUM","PW_MAX_LIFE","PW_MIN_CLASSES","PW_MIN_LENGTH","PW_MIN_LIFE");
       foreach($attrs as $attr){
         if(isset($tmp['XML'][$attr])){
           $ret[$attr] = $tmp['XML'][$attr];
+        }else{
+          $ret[$attr] = "";
         }
       }
     }