X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fpart_event%2FCondition%2Fpkg_dundate.pm;h=fefee20229f62e060ee3c49d335fc258aa18be51;hb=9f88c61407594e6c60226b607cc610b7cbde8953;hp=f25db2ae84f73407a7fdb63050e547c7f17892cf;hpb=783eefa4a70dd88dd13ffd73c4e23361288628f0;p=freeside.git 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}; }