[ticket/11656] Made the check for the bitfield just like other PR's

sub-task of ticket PHPBB3-11635:
find and fix all bypasses of generate_text_for_*

PHPBB3-11656