summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2011-06-22 22:01:39 +0000
committerivan <ivan>2011-06-22 22:01:39 +0000
commita2e112f6681e1fd5ab1e536c9fc2dd9a10397271 (patch)
treeb5e1e367cb4d860a1618317f964adfca8869d1ee
parent391ac7fca1159dfa9368d66b6e299873f2d42a3c (diff)
fix notification for flat_delayed packages when freeside-daily -a is used with comma-separated agents, RT#13349
-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
}