summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2008-02-11 00:02:53 +0000
committerivan <ivan>2008-02-11 00:02:53 +0000
commit96f045fb93dc522c012cddcbba2ded3b2a30db35 (patch)
treebbdbf376b3395af089950442fefc2e0a8981bbfe
parenta3dd588b5aac04155a46e1ed946144a3c99ab9ed (diff)
ah, no, its count (*) vs count(*), wow
-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 c2f976390..0603e6bc4 100644
--- a/FS/FS/Cron/notify.pm
+++ b/FS/FS/Cron/notify.pm
@@ -30,7 +30,7 @@ sub notify_flat_delay {
0 < ( select count(*) from part_pkg
where cust_pkg.pkgpart = part_pkg.pkgpart
and part_pkg.plan = 'flat_delayed'
- and 0 < ( select count (*) from part_pkg_option
+ and 0 < ( select count(*) from part_pkg_option
where part_pkg.pkgpart = part_pkg_option.pkgpart
and part_pkg_option.optionname = 'recur_notify'
and part_pkg_option.optionvalue > 0