diff --git a/gosa-plugins/goto/admin/systems/goto/Device/class_InstallRecipe.inc b/gosa-plugins/goto/admin/systems/goto/Device/class_InstallRecipe.inc
index fe34a37baecd8117cf73435be11ee55a968b7901..f7916dc73335a2193e0d98354ead46975adb786a 100644 (file)
// Detect account status by checking the used objectClasses
$this->is_account = FALSE;
foreach($this->map as $type){
- if(in_array($type['objectClass'], $this->attrs['objectClass'])){
+ if(in_array_strict($type['objectClass'], $this->attrs['objectClass'])){
$this->installBootstrapMethod = $type['bootstrap'];
$this->installConfigManagement = $type['type'];
$this->is_account = TRUE;
$this->installNTPServer = $this->installNTPServerList->getMaintainedData();
if(isset($_POST['installNTPServer_Input']) && isset($_POST['installNTPServer_Add'])){
$add = get_post('installNTPServer_Input');
- if(!in_array($add, $this->installNTPServer) && !empty($add)){
+ if(!in_array_strict($add, $this->installNTPServer) && !empty($add)){
$this->installNTPServer[] = $add;
}
}