diff options
author | Mark Wells <mark@freeside.biz> | 2016-11-16 14:08:09 -0800 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2016-11-16 14:11:53 -0800 |
commit | 230206b7fb2be0f68648b1cf5ef529fc4ab77f6c (patch) | |
tree | 971fdd199bde19bfb62feda85bdbfd3f8bbb314d | |
parent | 1be5a5bf99a52edd36ea8bade4786b9d082f557d (diff) |
fix warning
-rw-r--r-- | FS/FS/Misc/Geo.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/FS/FS/Misc/Geo.pm b/FS/FS/Misc/Geo.pm index 92490bb..6b3d6ca 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 |