Skip to content

Commit

Permalink
Fix implode() PHP 7.4 (ThingEngineer#870)
Browse files Browse the repository at this point in the history
implode(): Passing glue string after array is deprecated.
  • Loading branch information
harryqt authored and avbdr committed Jan 11, 2020
1 parent 03dbce1 commit 9a95f24
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 @@ -1835,7 +1835,7 @@ protected function _buildInsertQuery($tableData)
$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 ";
Expand Down

0 comments on commit 9a95f24

Please sign in to comment.