[ticket/12556] Droping the true : false checks

As bantu suggested - droping the true : false checks.

PHPBB3-12556