mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-08-17 15:58:51 +02:00
#12517 fixed permission
This commit is contained in:
parent
afa6a7d415
commit
139d884525
@ -857,7 +857,7 @@ $userManagementTable->data['fields_addSettings'][0] = html_print_textarea(
|
||||
''
|
||||
);
|
||||
|
||||
if (users_is_admin($config['id_user']) === true || check_acl($config['id_user'], 0, 'PM') === true) {
|
||||
if (users_is_admin($config['id_user']) === true || (bool) check_acl($config['id_user'], 0, 'PM') === true) {
|
||||
$allowAllIpsContent = [];
|
||||
$allowAllIpsContent[] = '<span>'.__('Enable IP allowlist').'</span>';
|
||||
$allowAllIpsContent[] = html_print_div(
|
||||
|
Loading…
x
Reference in New Issue
Block a user