[feature/twig] Fix copy/pasted code

PHPBB3-11598