From 975fde9c35e82a7e0a72ddb953c21c74b5e9adf1 Mon Sep 17 00:00:00 2001 From: Giandonato Inverso <70962472+giandonatoinverso@users.noreply.github.com> Date: Mon, 5 Sep 2022 20:40:26 +0200 Subject: [PATCH] Update MysqliDb.php fix deprecated implode() --- qrcode/lib/MysqliDb/MysqliDb.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qrcode/lib/MysqliDb/MysqliDb.php b/qrcode/lib/MysqliDb/MysqliDb.php index 176d089..d44dca7 100644 --- a/qrcode/lib/MysqliDb/MysqliDb.php +++ b/qrcode/lib/MysqliDb/MysqliDb.php @@ -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 "; @@ -2513,4 +2513,4 @@ class MysqliDb } } -// END class \ No newline at end of file +// END class