diff --git a/gosa-plugins/goto/admin/systems/goto/class_terminalGeneric.inc b/gosa-plugins/goto/admin/systems/goto/class_terminalGeneric.inc
index cb0220a34a81d1579f594557a5a5d6847f06c0ac..2e5e3899e845c72e007ad8e0700c64e938219911 100644 (file)
}
/* Set inherit checkbox state */
- if((in_array("default",$this->gotoNtpServer)) || (count($this->gotoNtpServer)==0)){
+ if((in_array_strict("default",$this->gotoNtpServer)) || (count($this->gotoNtpServer)==0)){
$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)) || (count($this->gotoNtpServer)==0)){
+ if((in_array_strict("default",$this->gotoNtpServer)) || (count($this->gotoNtpServer)==0)){
$this->inheritTimeServer = true;
$this->gotoNtpServer=array();
}