[ticket/11647] Fix invalid variable name

PHPBB3-11647