summaryrefslogtreecommitdiff
path: root/FS/FS/Cron
diff options
context:
space:
mode:
authorivan <ivan>2011-06-22 22:01:38 +0000
committerivan <ivan>2011-06-22 22:01:38 +0000
commitcdad865fc29a4ed47449f28b0aff6d7e59c95936 (patch)
treed5a2557c0afca384a958a36f4bcb9ae257488ead /FS/FS/Cron
parent7e1d7a10dd124acbf5bad285fad8296700fc4bd1 (diff)
fix notification for flat_delayed packages when freeside-daily -a is used with comma-separated agents, RT#13349
Diffstat (limited to 'FS/FS/Cron')
-rw-r--r--FS/FS/Cron/notify.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/Cron/notify.pm b/FS/FS/Cron/notify.pm
index 3d427b234..9ad7a49ac 100644
--- a/FS/FS/Cron/notify.pm
+++ b/FS/FS/Cron/notify.pm
@@ -72,7 +72,7 @@ END
$where_pkg .= <<END;
and 0 < ( select count(*) from cust_main
where cust_pkg.custnum = cust_main.custnum
- and cust_main.agentnum = $opt{a}
+ and cust_main.agentnum IN ( $opt{a} )
)
END
}