[ticket/11613] Remove redundant condition

PHPBB3-11613