install.php: respect useacl=0 choice, fixes #2576
This commit is contained in:
parent
ff6bf340ad
commit
b9ab8e4f0a
|
@ -309,6 +309,9 @@ function check_data(&$d){
|
|||
$error[] = sprintf($lang['i_badval'],$lang['email']);
|
||||
$ok = false;
|
||||
}
|
||||
}else{
|
||||
// Since default = 1, browser won't send acl=0 when user untick acl
|
||||
$d['acl'] = '0';
|
||||
}
|
||||
}
|
||||
$d = array_merge($form_default, $d);
|
||||
|
|
Loading…
Reference in New Issue