diff --git a/gosa-plugins/goto/admin/ogroups/goto/class_termgroup.inc b/gosa-plugins/goto/admin/ogroups/goto/class_termgroup.inc
index fe2496c6b05ae12c93eb565a5ef44dca8672782e..2ea00f50e7903eec16d7704fdcc8bf9957404aec 100644 (file)
$ldap->cat($member, array('objectClass', 'macAddress', 'cn'));
if ($ldap->success()){
$attrs = $ldap->fetch();
- if (in_array("gotoTerminal", $attrs['objectClass']) ||
- in_array("gotoWorkstation", $attrs['objectClass'])){
+ if (in_array_strict("gotoTerminal", $attrs['objectClass']) ||
+ in_array_strict("gotoWorkstation", $attrs['objectClass'])){
if (isset($attrs['macAddress'])){
$this->members[$attrs['cn'][0]]= $attrs['macAddress'][0];
} else {
$this->nfsservers= $tmp2;
/* Set inherit checkbox state */
- if(in_array("default",$this->gotoNtpServer)){
+ if(in_array_strict("default",$this->gotoNtpServer)){
$this->inheritTimeServer = true;
$this->gotoNtpServer=array();
}
$tmp = array();
foreach($this->gotoNtpServers as $server){
- if(!in_array($server,$this->gotoNtpServer)){
+ if(!in_array_strict($server,$this->gotoNtpServer)){
$tmp[$server] = $server;
}
}
}
/* Set inherit checkbox state */
- if(in_array("default",$this->gotoNtpServer)){
+ if(in_array_strict("default",$this->gotoNtpServer)){
$this->inheritTimeServer = true;
$this->gotoNtpServer=array();
}