Code

Updated in
[gosa.git] / gosa-core / plugins / admin / ogroups / tabs_ogroups.inc
index bea1067d843ef66cfd6ef26bf4e66d62154df018..be7db75cd196ecd71b5dd11ca960e70363702196 100644 (file)
@@ -46,7 +46,7 @@ class ogrouptabs extends tabs
         if(isset($this->by_object['ogroup']->objcache[$dn])){
           $obj = $this->by_object['ogroup']->objcache[$dn];
           if(isset($obj['objectClass'])){
-            if(in_array("goFonAccount",$obj['objectClass'])){
+            if(in_array_strict("goFonAccount",$obj['objectClass'])){
               $usePhoneTab = true;
             }
           }
@@ -129,7 +129,7 @@ class ogrouptabs extends tabs
           if(isset($this->by_object['ogroup']->objcache[$dn])){
             $obj = $this->by_object['ogroup']->objcache[$dn];
             if(isset($obj['objectClass'])){
-              if(in_array("goFonAccount",$obj['objectClass'])){
+              if(in_array_strict("goFonAccount",$obj['objectClass'])){
                 $this->by_name['phonequeue']= _("Phone queue");
                 $this->by_object['phonequeue']= new phonequeue($this->config, $this->dn);
                 $this->by_object['phonequeue']->parent= &$this;