[ticket/11388] Do not modify by reference

PHPBB3-11388