Skip to content

Commit

Permalink
Fix pre-confirm status not working on subscriber update. Closes #1927.
Browse files Browse the repository at this point in the history
  • Loading branch information
knadh committed Sep 3, 2024
1 parent 139267d commit 51e3f17
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion queries.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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
);
Expand Down

0 comments on commit 51e3f17

Please sign in to comment.