Added fix to phpbb3 when userid returns none.