[ticket/12821] Fix type in tweaks

PHPBB3-12821