projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e7597b
)
eliminate Argument "" isn't numeric in numeric le (<=) warning
author
Ivan Kohler
<ivan@freeside.biz>
Sat, 1 Dec 2012 16:08:04 +0000
(08:08 -0800)
committer
Ivan Kohler
<ivan@freeside.biz>
Sat, 1 Dec 2012 16:08:04 +0000
(08:08 -0800)
FS/FS/part_event/Condition/pkg_dundate.pm
patch
|
blob
|
history
diff --git
a/FS/FS/part_event/Condition/pkg_dundate.pm
b/FS/FS/part_event/Condition/pkg_dundate.pm
index
f25db2a
..
fefee20
100644
(file)
--- a/
FS/FS/part_event/Condition/pkg_dundate.pm
+++ b/
FS/FS/part_event/Condition/pkg_dundate.pm
@@
-19,7
+19,7
@@
sub condition {
#my $cust_main = $self->cust_main($cust_pkg);
-
$cust_pkg->dundate
<= $opt{time};
+
( $cust_pkg->dundate || 0 )
<= $opt{time};
}