X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gosa-plugins%2Fgoto%2Fadmin%2Fsystems%2Fgoto%2Fclass_terminalGeneric.inc;fp=gosa-plugins%2Fgoto%2Fadmin%2Fsystems%2Fgoto%2Fclass_terminalGeneric.inc;h=be20302d1747639d5b8f47f2223df716dc1aea95;hb=2fcfd24bcd790155a41665c952471b0358cb622f;hp=e26287a52dea5ac0665590366f32324b427f6983;hpb=25c6cde1198027476120b86a72db080cc3a665f2;p=gosa.git diff --git a/gosa-plugins/goto/admin/systems/goto/class_terminalGeneric.inc b/gosa-plugins/goto/admin/systems/goto/class_terminalGeneric.inc index e26287a52..be20302d1 100644 --- a/gosa-plugins/goto/admin/systems/goto/class_terminalGeneric.inc +++ b/gosa-plugins/goto/admin/systems/goto/class_terminalGeneric.inc @@ -103,7 +103,7 @@ class termgeneric extends plugin } /* 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(); } @@ -286,7 +286,7 @@ class termgeneric extends plugin $tmp = array(); foreach($this->gotoNtpServers as $server){ - if(!in_array($server,$this->gotoNtpServer)){ + if(!in_array_strict($server,$this->gotoNtpServer)){ $tmp[$server] = $server; } } @@ -662,7 +662,7 @@ class termgeneric extends plugin } /* 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(); }