1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-03-13 20:28:44 +01:00

[ticket/11469] Return after sql_multi_insert when multi_insert is false

PHPBB3-11469
This commit is contained in:
Joas Schilling 2013-03-27 11:47:40 +01:00
parent 8dd26dee83
commit bf6f2c5875

View File

@ -69,6 +69,7 @@ class phpbb_db_sql_insert_buffer
// Pass data on to sql_multi_insert right away which will
// immediately send an INSERT INTO query to the database.
$this->db->sql_multi_insert($this->table_name, array($row));
return;
}
$this->buffer[] = $row;