aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2013-03-27 11:47:40 +0100
committerJoas Schilling <nickvergessen@gmx.de>2013-03-27 14:00:47 +0100
commitbf6f2c5875f2476366c1bd660506e70c0f006c9d (patch)
treecfd892775a34e4ac9f79cd64629fb35d4d539457 /phpBB/includes
parent8dd26dee8349a14abac00db6ad5039d7517bda57 (diff)
downloadforums-bf6f2c5875f2476366c1bd660506e70c0f006c9d.tar
forums-bf6f2c5875f2476366c1bd660506e70c0f006c9d.tar.gz
forums-bf6f2c5875f2476366c1bd660506e70c0f006c9d.tar.bz2
forums-bf6f2c5875f2476366c1bd660506e70c0f006c9d.tar.xz
forums-bf6f2c5875f2476366c1bd660506e70c0f006c9d.zip
[ticket/11469] Return after sql_multi_insert when multi_insert is false
PHPBB3-11469
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/db/sql_insert_buffer.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/includes/db/sql_insert_buffer.php b/phpBB/includes/db/sql_insert_buffer.php
index fe45206893..49cf5b8ef6 100644
--- a/phpBB/includes/db/sql_insert_buffer.php
+++ b/phpBB/includes/db/sql_insert_buffer.php
@@ -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;