summaryrefslogtreecommitdiff
path: root/FS/FS/Misc.pm
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2014-07-31 13:17:55 -0700
committerIvan Kohler <ivan@freeside.biz>2014-07-31 13:17:55 -0700
commit6c284750de8fe49d7d4cdc6a9a4fb618697780e2 (patch)
treeb857e8d1d948d20fb425b0505d553e425a809414 /FS/FS/Misc.pm
parent5592cab603e6fda46268ca5addb1b036662e1576 (diff)
search by state (and county, country), RT#30312
Diffstat (limited to 'FS/FS/Misc.pm')
-rw-r--r--FS/FS/Misc.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/Misc.pm b/FS/FS/Misc.pm
index 380f895..f597058 100644
--- a/FS/FS/Misc.pm
+++ b/FS/FS/Misc.pm
@@ -548,7 +548,7 @@ sub states_hash {
#it could throw a fatal "Invalid country code" error (for example "AX")
my $subcountry = eval { new Locale::SubCountry($country) }
- or return ( '', '(n/a)' );
+ or return (); # ( '', '(n/a)' );
#"i see your schwartz is as big as mine!"
map { ( $_->[0] => $_->[1] ) }