[freeside-commits] freeside/FS/FS/Cron notify.pm,1.2.2.4,1.2.2.5
Ivan,,,
ivan at wavetail.420.am
Tue Mar 31 12:46:06 PDT 2009
Update of /home/cvs/cvsroot/freeside/FS/FS/Cron
In directory wavetail.420.am:/tmp/cvs-serv8689
Modified Files:
Tag: FREESIDE_1_7_BRANCH
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.2.2.4
retrieving revision 1.2.2.5
diff -u -d -r1.2.2.4 -r1.2.2.5
--- notify.pm 11 Feb 2008 00:53:11 -0000 1.2.2.4
+++ notify.pm 31 Mar 2009 19:46:01 -0000 1.2.2.5
@@ -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