summaryrefslogtreecommitdiff
path: root/FS/FS
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2016-11-16 14:08:09 -0800
committerMark Wells <mark@freeside.biz>2016-11-16 14:11:58 -0800
commit2dff574c971b18e3b3c74653e7e1376b7b57c3bb (patch)
treee21ea01e9fa00b7990cb6ed7984a50e227b92449 /FS/FS
parente2a9dcac3b97254fc0a64ce3e2bf1ce582ce8162 (diff)
fix warning
Diffstat (limited to 'FS/FS')
-rw-r--r--FS/FS/Misc/Geo.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/FS/FS/Misc/Geo.pm b/FS/FS/Misc/Geo.pm
index 92490bb3b..6b3d6ca71 100644
--- a/FS/FS/Misc/Geo.pm
+++ b/FS/FS/Misc/Geo.pm
@@ -210,13 +210,13 @@ sub wa_sales {
if ( lc($text) eq 'location code' ) {
$p->get_tag('td'); # skip to the next column
undef $u;
- $u = $p->get_token until $u->[0] eq 'T'; # and then skip non-text
+ $u = $p->get_token until ($u->[0] || '') eq 'T'; # and then skip non-text
$return->{'district'} = $u->[1];
}
elsif ( lc($text) eq 'total tax rate' ) {
$p->get_tag('td');
undef $u;
- $u = $p->get_token until $u->[0] eq 'T';
+ $u = $p->get_token until ($u->[0] || '') eq 'T';
$return->{'tax'} = $u->[1];
}
} # get_token