[ticket/12508] Add new line to separate the if and foreach better

PHPBB3-12508