projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f2c82d
)
quiet warning
author
Ivan Kohler
<ivan@freeside.biz>
Thu, 30 Jan 2014 00:31:22 +0000
(16:31 -0800)
committer
Ivan Kohler
<ivan@freeside.biz>
Thu, 30 Jan 2014 00:31:22 +0000
(16:31 -0800)
FS/FS/cust_main/Search.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cust_main/Search.pm
b/FS/FS/cust_main/Search.pm
index
b52b359
..
76d1410
100644
(file)
--- 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: $!";