fix notification for flat_delayed packages when freeside-daily -a is used with comma...
[freeside.git] / FS / FS / Cron / notify.pm
index 3d427b2..9ad7a49 100644 (file)
@@ -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
   }