diff options
author | Renato Botelho <renato@netgate.com> | 2019-02-07 12:57:05 -0200 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2019-02-07 13:37:36 -0200 |
commit | 988640d3632d620903f89aaa87d865df8c736a10 (patch) | |
tree | 918ada1f98def3e8d459762d91cfcd1baae4438d /src/usr/local/www | |
parent | 5c4fef46ab9fd6be569a2c18185062bb34d0eb37 (diff) | |
download | pfsense-988640d3632d620903f89aaa87d865df8c736a10.zip pfsense-988640d3632d620903f89aaa87d865df8c736a10.tar.gz |
Make get_countr_code() parameter default to 'ALL'
Diffstat (limited to 'src/usr/local/www')
-rw-r--r-- | src/usr/local/www/getserviceproviders.php | 2 | ||||
-rw-r--r-- | src/usr/local/www/interfaces_ppps_edit.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/getserviceproviders.php b/src/usr/local/www/getserviceproviders.php index 7304588..5de9e57 100644 --- a/src/usr/local/www/getserviceproviders.php +++ b/src/usr/local/www/getserviceproviders.php @@ -48,7 +48,7 @@ function get_country_providers($country) { function country_list() { global $serviceproviders; - $country_list = get_country_name("ALL"); + $country_list = get_country_name(); foreach ($serviceproviders as $sp) { foreach ($country_list as $country) { if (strtoupper($sp['attr']['code']) == $country['code']) { diff --git a/src/usr/local/www/interfaces_ppps_edit.php b/src/usr/local/www/interfaces_ppps_edit.php index 6eb5f11..31755bb 100644 --- a/src/usr/local/www/interfaces_ppps_edit.php +++ b/src/usr/local/www/interfaces_ppps_edit.php @@ -473,7 +473,7 @@ function build_country_list() { $list = array(); // get_country_name is in pfSense-utils.inc - $country_list = get_country_name("ALL"); + $country_list = get_country_name(); foreach ($country_list as $country) { $list[$country['code']] = $country['name']; |