fix notification for flat_delayed packages when freeside-daily -a is used with comma...
authorivan <ivan>
Wed, 22 Jun 2011 22:01:38 +0000 (22:01 +0000)
committerivan <ivan>
Wed, 22 Jun 2011 22:01:38 +0000 (22:01 +0000)
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
   }