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:
Andreas Fischer 2013-03-27 17:55:42 +01:00
commit b583f6d8d9

View file

@ -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))
{ {