[ticket/12829] Correctly set multi_insert

PHPBB3-12829