[ticket/12099] Fix for template test

PHPBB3-12099