From 6fc6dba9b140c06cf66e94581fa9bec84c61b941 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Sun, 18 May 2008 19:48:48 +0000 Subject: get provider settings first --- lib/network/netconnect.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/network') diff --git a/lib/network/netconnect.pm b/lib/network/netconnect.pm index f496e15..7b46d28 100644 --- a/lib/network/netconnect.pm +++ b/lib/network/netconnect.pm @@ -194,12 +194,12 @@ sub real_main { select_provider => { pre => sub { + $provider_settings = $connection->get_provider_settings; @providers_data = $connection->get_providers; require lang; my $locale_country = lang::c2name(ref($::o) && $::o->{locale}{country} || lang::read()->{country}); my $separator = $providers_data[1]; $connection->{provider_name} = find { /^\Q$locale_country$separator\E/ } sort(keys %{$providers_data[0]}); - $provider_settings = $connection->get_provider_settings; }, name => sub { $net->{type}->get_type_name . "\n\n" . N("Please select your provider:") }, data => sub { $provider_settings }, -- cgit v1.2.1