[ticket/12275] Change if (empty) to if (!isset)

PHPBB3-12275