Commit 9b9f1b08 authored by Alexander Butenko's avatar Alexander Butenko Committed by GitHub

Merge pull request #510 from ricwein/master

ensures php5.3 compatible array syntax
parents bd4fb1b7 5a30aa37
...@@ -692,7 +692,7 @@ class MysqliDb ...@@ -692,7 +692,7 @@ class MysqliDb
{ {
// only auto-commit our inserts, if no transaction is currently running // only auto-commit our inserts, if no transaction is currently running
$autoCommit = (isset($this->_transaction_in_progress) ? !$this->_transaction_in_progress : true); $autoCommit = (isset($this->_transaction_in_progress) ? !$this->_transaction_in_progress : true);
$ids = []; $ids = array();
if($autoCommit) { if($autoCommit) {
$this->startTransaction(); $this->startTransaction();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment