[ticket/12456] Add , after the last array element

PHPBB3-12456