[ticket/11774] Fix constant to avoid PHP errors

PHPBB3-11774