From ce4260567a577faec5019ea71f27c586aa666409 Mon Sep 17 00:00:00 2001 From: Arijit Biswas Date: Fri, 6 Dec 2019 12:33:55 +0530 Subject: [PATCH] Fix implode() PHP 7.4 implode(): Passing glue string after array is deprecated. --- MysqliDb.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MysqliDb.php b/MysqliDb.php index e264f7a9..02cf2ec9 100644 --- a/MysqliDb.php +++ b/MysqliDb.php @@ -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 ";