[freeside-commits] branch master updated. d4db0d673c93c4cc11d7234bbb0f79373472a528

Ivan ivan at 420.am
Wed Jan 29 16:50:41 PST 2014


The branch, master has been updated
       via  d4db0d673c93c4cc11d7234bbb0f79373472a528 (commit)
       via  ce59de92405c458fc76cd1eb10d9d335f91e60d5 (commit)
      from  6f2c82d6c4cd6ded9bfea2518e99cc4147dfa0c1 (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 d4db0d673c93c4cc11d7234bbb0f79373472a528
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Wed Jan 29 16:50:39 2014 -0800

    fix for data in latest cch update, RT#26740

diff --git a/FS/FS/tax_rate.pm b/FS/FS/tax_rate.pm
index 58d9d07..3d37677 100644
--- a/FS/FS/tax_rate.pm
+++ b/FS/FS/tax_rate.pm
@@ -227,7 +227,7 @@ sub check {
     || $self->ut_floatn('excessfee')
     || $self->ut_floatn('feemax')
     || $self->ut_numbern('maxtype')
-    || $self->ut_cch_textn('taxname')
+    || $self->ut_textn('taxname')
     || $self->ut_numbern('taxauth')
     || $self->ut_numbern('basetype')
     || $self->ut_numbern('passtype')

commit ce59de92405c458fc76cd1eb10d9d335f91e60d5
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Wed Jan 29 16:31:22 2014 -0800

    quiet warning

diff --git a/FS/FS/cust_main/Search.pm b/FS/FS/cust_main/Search.pm
index b52b359..76d1410 100644
--- a/FS/FS/cust_main/Search.pm
+++ b/FS/FS/cust_main/Search.pm
@@ -1247,7 +1247,7 @@ sub append_fuzzyfiles_fuzzyfield {
   my ($field, $table) = reverse split('\.', $fuzzyfield);
   $table ||= 'cust_main';
 
-  return unless length($value);
+  return unless defined($value) && length($value);
 
   open(CACHE, '>>:encoding(UTF-8)', "$dir/$table.$field" )
     or die "can't open $dir/$table.$field: $!";

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

Summary of changes:
 FS/FS/cust_main/Search.pm |    2 +-
 FS/FS/tax_rate.pm         |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)




More information about the freeside-commits mailing list