[freeside-commits] branch FREESIDE_2_3_BRANCH updated. aacc69fe90498b90126eab16d2ffe6015bcd5952

Ivan ivan at 420.am
Sat Dec 1 08:08:08 PST 2012


The branch, FREESIDE_2_3_BRANCH has been updated
       via  aacc69fe90498b90126eab16d2ffe6015bcd5952 (commit)
      from  39a45d12d311026900350aa095577def2cd3bb03 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit aacc69fe90498b90126eab16d2ffe6015bcd5952
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Sat Dec 1 08:08:06 2012 -0800

    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 f25db2a..fefee20 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};
 
 }
 

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/part_event/Condition/pkg_dundate.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)




More information about the freeside-commits mailing list