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