install.php: respect useacl=0 choice, fixes #2576

This commit is contained in:
Phy 2019-03-13 13:54:14 -04:00
parent ff6bf340ad
commit b9ab8e4f0a
1 changed files with 3 additions and 0 deletions

View File

@ -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);