diff options
author | Ivan Kohler <ivan@freeside.biz> | 2014-01-29 16:31:22 -0800 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2014-01-29 16:31:22 -0800 |
commit | ce59de92405c458fc76cd1eb10d9d335f91e60d5 (patch) | |
tree | 73bae4c6c99c0469ef13eb8b1396be434e6bb898 | |
parent | 6f2c82d6c4cd6ded9bfea2518e99cc4147dfa0c1 (diff) |
quiet warning
-rw-r--r-- | FS/FS/cust_main/Search.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/cust_main/Search.pm b/FS/FS/cust_main/Search.pm index b52b3596a..76d141035 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: $!"; |