summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/system.php
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-01-21 19:10:21 -0200
committerRenato Botelho <renato@netgate.com>2016-01-21 19:12:10 -0200
commitceecd29b53b7d570b56fb391a09abb71fe80566b (patch)
treea764684df84eb4a876c9d8dda490cf37f18e1100 /src/usr/local/www/system.php
parentb50d30c3a6d29b02cc7f4fe66f3a16bc7a4ea1a6 (diff)
downloadpfsense-ceecd29b53b7d570b56fb391a09abb71fe80566b.zip
pfsense-ceecd29b53b7d570b56fb391a09abb71fe80566b.tar.gz
Fix #5690:
- Remove parameters from set_language() - Add a global variable for default language - add env var for LANG, otherwise it won't work
Diffstat (limited to 'src/usr/local/www/system.php')
-rw-r--r--src/usr/local/www/system.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/system.php b/src/usr/local/www/system.php
index c0c5489..c791489 100644
--- a/src/usr/local/www/system.php
+++ b/src/usr/local/www/system.php
@@ -232,7 +232,7 @@ if ($_POST) {
if ($_POST['language'] && $_POST['language'] != $config['system']['language']) {
$config['system']['language'] = $_POST['language'];
- set_language($config['system']['language']);
+ set_language();
}
unset($config['system']['webgui']['webguileftcolumnhyper']);
OpenPOWER on IntegriCloud