mirror of
https://github.com/knadh/listmonk.git
synced 2024-12-27 01:14:31 +08:00
fix vanishing attachments in campaign in more the one campaigns setup (#1936)
This commit is contained in:
parent
b4294c1eea
commit
b38f1562ee
1 changed files with 1 additions and 1 deletions
|
@ -827,7 +827,7 @@ clists AS (
|
|||
),
|
||||
med AS (
|
||||
DELETE FROM campaign_media WHERE campaign_id = $1
|
||||
AND media_id IS NULL or NOT(media_id = ANY($19)) RETURNING media_id
|
||||
AND ( media_id IS NULL or NOT(media_id = ANY($19))) RETURNING media_id
|
||||
),
|
||||
medi AS (
|
||||
INSERT INTO campaign_media (campaign_id, media_id, filename)
|
||||
|
|
Loading…
Reference in a new issue