[ticket/12174] Update the conditions

PHPBB3-12174