[ticket/12099] Use array instead of array_merge

PHPBB3-12099