diff options
| author | Ivan Kohler <ivan@freeside.biz> | 2012-12-01 08:08:06 -0800 |
|---|---|---|
| committer | Ivan Kohler <ivan@freeside.biz> | 2012-12-01 08:08:06 -0800 |
| commit | aacc69fe90498b90126eab16d2ffe6015bcd5952 (patch) | |
| tree | 320982417a6561d61cc6d6edeafc801f05399033 | |
| parent | 39a45d12d311026900350aa095577def2cd3bb03 (diff) | |
eliminate Argument "" isn't numeric in numeric le (<=) warning
| -rw-r--r-- | FS/FS/part_event/Condition/pkg_dundate.pm | 2 |
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}; } |
