From 3d260a6db091a78df5538346ec3346c637578bc0 Mon Sep 17 00:00:00 2001 From: Alexander Walther Date: Tue, 26 Nov 2024 22:57:02 +0100 Subject: [PATCH] fix update wrong SQL MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit close #131 Ausgeführt wurde `UPDATE `rex_neues_entry` SET `status` = -2 WHERE status`, dieser PR behebt das Problem. --- install.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.php b/install.php index c814004..5991244 100644 --- a/install.php +++ b/install.php @@ -121,7 +121,7 @@ if (rex_version::compare('5.1.0', $this->getVersion(), '>')) { $sql = rex_sql::factory(); $sql->setTable(rex::getTable('neues_entry')); - $sql->setWhere('status', 2); + $sql->setWhere('status = 2'); $sql->setValue('status', -2); $sql->update(); }