[ticket/11869] Fix strict standards error when registering.

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