[ticket/11774] Fix constant to avoid PHP errors

http://tracker.phpbb.com/browse/PHPBB3-11774