Skip to content

Commit

Permalink
Merge pull request ThingEngineer#510 from ricwein/master
Browse files Browse the repository at this point in the history
ensures php5.3 compatible array syntax
  • Loading branch information
avbdr authored Aug 29, 2016
2 parents bd4fb1b + 5a30aa3 commit 9b9f1b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MysqliDb.php
Original file line number Diff line number Diff line change
Expand Up @@ -692,7 +692,7 @@ public function insertMulti($tableName, array $multiInsertData, array $dataKeys
{
// only auto-commit our inserts, if no transaction is currently running
$autoCommit = (isset($this->_transaction_in_progress) ? !$this->_transaction_in_progress : true);
$ids = [];
$ids = array();

if($autoCommit) {
$this->startTransaction();
Expand Down

0 comments on commit 9b9f1b0

Please sign in to comment.