projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
c46d0f3
)
fix impending billing notification for Pg 8.3's more strict type checking
author
ivan
<ivan>
Tue, 31 Mar 2009 19:46:00 +0000
(19:46 +0000)
committer
ivan
<ivan>
Tue, 31 Mar 2009 19:46:00 +0000
(19:46 +0000)
FS/FS/Cron/notify.pm
patch
|
blob
|
history
diff --git
a/FS/FS/Cron/notify.pm
b/FS/FS/Cron/notify.pm
index
23cf920
..
c67fcc1
100644
(file)
--- a/
FS/FS/Cron/notify.pm
+++ b/
FS/FS/Cron/notify.pm
@@
-35,7
+35,7
@@
sub notify_flat_delay {
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