Merge pull request #7909 from MrPetovan/bug/7902-acl-fixes

Restore correct test for hidewall in ACL::getFullSelectorHTML
This commit is contained in:
Michael Vogel 2019-12-06 05:16:08 +01:00 committed by GitHub
commit f5a28e8bbf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -367,7 +367,7 @@ class ACL extends BaseObject
} }
} }
if ($default_permissions['hidewall']) { if (!$default_permissions['hidewall']) {
if ($mail_enabled) { if ($mail_enabled) {
$jotnets_fields[] = [ $jotnets_fields[] = [
'type' => 'checkbox', 'type' => 'checkbox',