[ticket/11492] Fix error on teampage when there are no users.

http://tracker.phpbb.com/browse/PHPBB3-11492