[ticket/12487] Fix global definition

PHPBB3-12487