summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2009-03-31 19:51:54 +0000
committerivan <ivan>2009-03-31 19:51:54 +0000
commit7889bec2b0f951c053b06ef45fbc60dacd3f8a88 (patch)
tree09c59c9bbfec0d625091c160695950a8c674e3fd
parent432ab2af40034d4f63f7771eff6207c73b057959 (diff)
really fix notify for Pg 8.3
-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 c67fcc19a..5b0e186ad 100644
--- a/FS/FS/Cron/notify.pm
+++ b/FS/FS/Cron/notify.pm
@@ -62,7 +62,7 @@ END
0 = ( select count(*) from cust_pkg_option
where cust_pkg.pkgnum = cust_pkg_option.pkgnum
and cust_pkg_option.optionname = 'impending_recur_notification_sent'
- and cust_pkg_option.optionvalue = 1
+ and CAST( cust_pkg_option.optionvalue AS INTEGER ) = 1
)
END