diff options
author | Olivier Blin <oblin@mandriva.com> | 2008-05-17 11:20:55 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2008-05-17 11:20:55 +0000 |
commit | 5f002e9b3cbdc000a53ceb536497275b2ef2ce90 (patch) | |
tree | 80365bf68735b19c89afdd04680699aa7d02c2f1 /lib | |
parent | 0f1b2501d1aa31d7f8b92b207952cd4670715d62 (diff) | |
download | drakx-net-5f002e9b3cbdc000a53ceb536497275b2ef2ce90.tar drakx-net-5f002e9b3cbdc000a53ceb536497275b2ef2ce90.tar.gz drakx-net-5f002e9b3cbdc000a53ceb536497275b2ef2ce90.tar.bz2 drakx-net-5f002e9b3cbdc000a53ceb536497275b2ef2ce90.tar.xz drakx-net-5f002e9b3cbdc000a53ceb536497275b2ef2ce90.zip |
do not vivify $::o
Diffstat (limited to 'lib')
-rw-r--r-- | lib/network/netconnect.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/network/netconnect.pm b/lib/network/netconnect.pm index eb1b2c6..1863535 100644 --- a/lib/network/netconnect.pm +++ b/lib/network/netconnect.pm @@ -195,7 +195,7 @@ sub real_main { pre => sub { @providers_data = $connection->get_providers; require lang; - my $locale_country = lang::c2name($::o->{locale}{country} || lang::read()->{country}); + my $locale_country = lang::c2name(ref($::o) && $::o->{locale}{country} || lang::read()->{country}); my $separator = $providers_data[1]; $provider_name = find { /^\Q$locale_country$separator\E/ } sort(keys %{$providers_data[0]}); }, |