[freeside-commits] freeside/FS/FS/Cron notify.pm,1.6,1.7
Ivan,,,
ivan at wavetail.420.am
Tue Mar 31 12:46:03 PDT 2009
Update of /home/cvs/cvsroot/freeside/FS/FS/Cron
In directory wavetail.420.am:/tmp/cvs-serv8685
Modified Files:
notify.pm
Log Message:
fix impending billing notification for Pg 8.3's more strict type checking
Index: notify.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/Cron/notify.pm,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- notify.pm 11 Feb 2008 00:53:10 -0000 1.6
+++ notify.pm 31 Mar 2009 19:46:00 -0000 1.7
@@ -35,7 +35,7 @@
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
+ and CAST( part_pkg_option.optionvalue AS INTEGER ) > 0
and 0 <= ( $time
+ CAST( part_pkg_option.optionvalue AS $integer )
* 86400
More information about the freeside-commits
mailing list