[ticket/9758] Removed the needless space after first ENDIF

PHPBB3-9758