[ticket/11469] Cast $result to boolean in insert_all()

|= returns integer values

PHPBB3-11469
This commit is contained in:
Joas Schilling 2013-03-27 20:55:48 +01:00
parent 69ad4aab78
commit c9f059c4f2

View file

@ -137,7 +137,7 @@ class phpbb_db_sql_insert_buffer
$result |= $this->insert($row);
}
return $result;
return (bool) $result;
}
/**