[ticket/12890] Fix minor errors

PHPBB3-12890