From 02482cc01e884d209541686c4f4b0a128aa4ae6a Mon Sep 17 00:00:00 2001 From: Struan Donald Date: Tue, 22 Oct 2024 11:29:49 +0100 Subject: [PATCH] fixup! enable alerts to be edited --- www/includes/easyparliament/alert.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/includes/easyparliament/alert.php b/www/includes/easyparliament/alert.php index d32680afbf..3746aa7f33 100644 --- a/www/includes/easyparliament/alert.php +++ b/www/includes/easyparliament/alert.php @@ -114,8 +114,8 @@ public function update($id, $details) { if ($q) { $q = $this->db->query("UPDATE alerts SET deleted = 0, criteria = :criteria, confirmed = 1 WHERE alert_id = :id", [ - ":criteria" => $criteria, - ":id" => $id, + ":criteria" => $criteria, + ":id" => $id, ]); if ($q->success()) {