Code

Replaced in_array calls with in_array_strict
[gosa.git] / gosa-plugins / gofon / admin / systems / services / gofon / class_goFonServer.inc
index 85822332bd5f55caa72ae3b3ee3b291318b80be4..6c707f4d1de205e3bf4b9bd2204e257c80b0ad87 100644 (file)
@@ -130,7 +130,7 @@ class goFonServer extends goService{
         /* Update goFonAccounts if server was is renamed.
            Set attribute goFonHomeServer to current dn
          */
-        if(in_array("goFonServer",$this->objectclasses)){
+        if(in_array_strict("goFonServer",$this->objectclasses)){
             if($this->orig_dn != "new" && $this->orig_dn != $this->dn){
                 $ldap = $this->config->get_ldap_link();
                 $ldap->cd($this->config->current['BASE']);