summaryrefslogtreecommitdiff
path: root/FS/FS
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2012-12-01 08:08:04 -0800
committerIvan Kohler <ivan@freeside.biz>2012-12-01 08:08:04 -0800
commit9f88c61407594e6c60226b607cc610b7cbde8953 (patch)
treed7dd71da4d95d5b236f29ceb1a9b32de2ba740f5 /FS/FS
parent1e7597b555b007372810e576ce83ad192d803888 (diff)
eliminate Argument "" isn't numeric in numeric le (<=) warning
Diffstat (limited to 'FS/FS')
-rw-r--r--FS/FS/part_event/Condition/pkg_dundate.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/part_event/Condition/pkg_dundate.pm b/FS/FS/part_event/Condition/pkg_dundate.pm
index f25db2ae8..fefee2022 100644
--- 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};
}