From: Ivan Kohler Date: Sat, 1 Dec 2012 16:08:06 +0000 (-0800) Subject: eliminate Argument "" isn't numeric in numeric le (<=) warning X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=aacc69fe90498b90126eab16d2ffe6015bcd5952;p=freeside.git eliminate Argument "" isn't numeric in numeric le (<=) warning --- 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}; }