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

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