mirror of
https://github.com/knadh/listmonk.git
synced 2024-12-26 08:51:52 +08:00
Fix pre-confirm status not working on subscriber update. Closes #1927.
This commit is contained in:
parent
139267d57e
commit
51e3f1789b
1 changed files with 0 additions and 1 deletions
|
@ -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
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue