[ticket/12109] Bug when setting permissions with "Select all users"

https://tracker.phpbb.com/browse/PHPBB3-12109

PHPBB3-12109
[ticket/12109] Fix coding style

PHPBB3-12109
Merge pull request #2431 from Nicofuma/ticket/12109

[ticket/12109] Bug when setting permissions with "Select all users"