Code

Fixed missing images problem in group headpage
[gosa.git] / plugins / admin / fai / class_faiVariable.inc
index 6c47c6f331a88586f864c9d90a614bdf7eb3f8d6..2e17bb2d02d87937839665b1a7c0b9df9ee006d2 100644 (file)
@@ -25,7 +25,7 @@ class faiVariable extends plugin
 
   /* Attributes to initialise for each subObject */
   var $subAttributes    = array("cn","description","FAIvariableContent"); 
-  var $sub64coded       = array("FAIvariableContent");  
+  var $sub64coded       = array();  
 
   /* Specific attributes */
   var $cn               = "";       // The class name for this object
@@ -70,6 +70,7 @@ class faiVariable extends plugin
         $this->SubObjects[$object['cn'][0]]['status']      = "edited";
         $this->SubObjects[$object['cn'][0]]['dn']          = $object['dn'];
       }
+      ksort($this->SubObjects);
     }
   }
 
@@ -127,6 +128,7 @@ class faiVariable extends plugin
         $this->is_dialog=false;
         unset($this->dialog);
         $this->dialog=NULL;
+        ksort($this->SubObjects);
       }
     }