[ticket/11342] Fix "unexpected token" syntax error

PHPBB-11342