Code

removed not needed attributes.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 9 Aug 2005 06:09:19 +0000 (06:09 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 9 Aug 2005 06:09:19 +0000 (06:09 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1082 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/ogroups/class_phonequeue.inc

index 78950fd286f64b2b82b148cc4f7cd07273b937ee..920b96d0506961a385b6115fefbd4256117a3b04 100644 (file)
@@ -518,11 +518,16 @@ class phonequeue extends plugin
       return( sprintf(_("Can't select database %s on %s."),$a_SETUP['DB'],$a_SETUP['SERVER']));
     }
 
-
+    $tmp = array_flip($this->attributes);
     foreach(array("goFonDialOption_t","goFonDialOption_T","goFonDialOption_h","goFonDialOption_H") as $val){
       unset($this->$val);
       unset($this->attrs[$val]);
-    }    
+      unset($tmp[$val]);
+    }   
+    foreach(array_flip($tmp) as $key => $val){
+      $tmp2[]=$val;
+    } 
+    $this->attributes = $tmp2;
 
     $i = 0;
     $prio = 11;