From 51e3f1789bade0c416e8bea8b3b1eccef39399b7 Mon Sep 17 00:00:00 2001 From: Kailash Nadh Date: Tue, 3 Sep 2024 23:39:02 +0530 Subject: [PATCH] Fix pre-confirm status not working on subscriber update. Closes #1927. --- queries.sql | 1 - 1 file changed, 1 deletion(-) diff --git a/queries.sql b/queries.sql index bb730869..0df08327 100644 --- a/queries.sql +++ b/queries.sql @@ -179,7 +179,6 @@ INSERT INTO subscriber_lists (subscriber_id, list_id, status) -- When subscriber is edited from the admin form, retain the status. Otherwise, a blocklisted -- subscriber when being re-enabled, their subscription statuses change. WHEN subscriber_lists.status = 'confirmed' THEN 'confirmed' - WHEN $9 = TRUE THEN subscriber_lists.status ELSE $8::subscription_status END );