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

PHPBB3-11869
Merge remote-tracking branch 'prototech/ticket/11869' into develop

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