Update MysqliDb.php
fix deprecated implode()
This commit is contained in:
committed by
GitHub
parent
af363723b2
commit
975fde9c35
@@ -1845,7 +1845,7 @@ class MysqliDb
|
||||
$dataColumns = array_keys($tableData);
|
||||
if ($isInsert) {
|
||||
if (isset ($dataColumns[0]))
|
||||
$this->_query .= ' (`' . implode($dataColumns, '`, `') . '`) ';
|
||||
$this->_query .= ' (`' . implode('`, `', $dataColumns) . '`) ';
|
||||
$this->_query .= ' VALUES (';
|
||||
} else {
|
||||
$this->_query .= " SET ";
|
||||
|
||||
Reference in New Issue
Block a user