[ticket/12426] type_base.php

Adding needed changes to type_base.php

PHPBB3-12426