From 9f88c61407594e6c60226b607cc610b7cbde8953 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Sat, 1 Dec 2012 08:08:04 -0800 Subject: [PATCH] eliminate Argument "" isn't numeric in numeric le (<=) warning --- FS/FS/part_event/Condition/pkg_dundate.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}; } -- 2.11.0