mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
Merge remote-tracking branch 'nickvergessen/ticket/11476' into develop
* nickvergessen/ticket/11476: [ticket/11476] Remove pass-by-reference from sql_mutli_insert
This commit is contained in:
commit
b583f6d8d9
1 changed files with 2 additions and 2 deletions
|
@ -568,12 +568,12 @@ class phpbb_db_driver
|
||||||
* Run more than one insert statement.
|
* Run more than one insert statement.
|
||||||
*
|
*
|
||||||
* @param string $table table name to run the statements on
|
* @param string $table table name to run the statements on
|
||||||
* @param array &$sql_ary multi-dimensional array holding the statement data.
|
* @param array $sql_ary multi-dimensional array holding the statement data.
|
||||||
*
|
*
|
||||||
* @return bool false if no statements were executed.
|
* @return bool false if no statements were executed.
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
function sql_multi_insert($table, &$sql_ary)
|
function sql_multi_insert($table, $sql_ary)
|
||||||
{
|
{
|
||||||
if (!sizeof($sql_ary))
|
if (!sizeof($sql_ary))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue