Skip to content

Commit 9a95f24

Browse files
harryqtavbdr
authored andcommitted
Fix implode() PHP 7.4 (ThingEngineer#870)
implode(): Passing glue string after array is deprecated.
1 parent 03dbce1 commit 9a95f24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MysqliDb.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1835,7 +1835,7 @@ protected function _buildInsertQuery($tableData)
18351835
$dataColumns = array_keys($tableData);
18361836
if ($isInsert) {
18371837
if (isset ($dataColumns[0]))
1838-
$this->_query .= ' (`' . implode($dataColumns, '`, `') . '`) ';
1838+
$this->_query .= ' (`' . implode('`, `', $dataColumns) . '`) ';
18391839
$this->_query .= ' VALUES (';
18401840
} else {
18411841
$this->_query .= " SET ";

0 commit comments

Comments
 (0)