Update MysqliDb.php

fix deprecated implode()
This commit is contained in:
Giandonato Inverso
2022-09-05 20:40:26 +02:00
committed by GitHub
parent af363723b2
commit 975fde9c35
+1 -1
View File
@@ -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 ";