Skip to content
This repository was archived by the owner on Sep 2, 2025. It is now read-only.

Commit 975fde9

Browse files
Update MysqliDb.php
fix deprecated implode()
1 parent af36372 commit 975fde9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

qrcode/lib/MysqliDb/MysqliDb.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1845,7 +1845,7 @@ protected function _buildInsertQuery($tableData)
18451845
$dataColumns = array_keys($tableData);
18461846
if ($isInsert) {
18471847
if (isset ($dataColumns[0]))
1848-
$this->_query .= ' (`' . implode($dataColumns, '`, `') . '`) ';
1848+
$this->_query .= ' (`' . implode('`, `', $dataColumns) . '`) ';
18491849
$this->_query .= ' VALUES (';
18501850
} else {
18511851
$this->_query .= " SET ";
@@ -2513,4 +2513,4 @@ private function conditionToSql($operator, $val) {
25132513
}
25142514
}
25152515

2516-
// END class
2516+
// END class

0 commit comments

Comments
 (0)