aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/user.php
diff options
context:
space:
mode:
authorMatt Friedman <maf675@gmail.com>2014-04-11 08:50:15 -0700
committerMatt Friedman <maf675@gmail.com>2014-04-11 08:50:15 -0700
commit60be5021900d0907ca65f83d11ae4f0b5ce090b0 (patch)
tree4503c0d30b909e8f71cd0b8a1de2317acba5e86a /phpBB/phpbb/user.php
parentaf6cabc1067b29850c1b037e878df2781e5c3de7 (diff)
downloadforums-60be5021900d0907ca65f83d11ae4f0b5ce090b0.tar
forums-60be5021900d0907ca65f83d11ae4f0b5ce090b0.tar.gz
forums-60be5021900d0907ca65f83d11ae4f0b5ce090b0.tar.bz2
forums-60be5021900d0907ca65f83d11ae4f0b5ce090b0.tar.xz
forums-60be5021900d0907ca65f83d11ae4f0b5ce090b0.zip
[ticket/12254] Use 'language' instead of 'set_lang' as the variable name
PHPBB3-12254
Diffstat (limited to 'phpBB/phpbb/user.php')
-rw-r--r--phpBB/phpbb/user.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/phpbb/user.php b/phpBB/phpbb/user.php
index 36f72a69b9..628ddd8e59 100644
--- a/phpBB/phpbb/user.php
+++ b/phpBB/phpbb/user.php
@@ -80,7 +80,7 @@ class user extends \phpbb\session
}
else
{
- $change_lang = $request->variable('set_lang', '');
+ $change_lang = $request->variable('language', '');
if ($change_lang)
{
global $SID, $_EXTRA_URL;
@@ -88,8 +88,8 @@ class user extends \phpbb\session
$use_lang = basename($change_lang);
$user_lang_name = (file_exists($this->lang_path . $use_lang . "/common.$phpEx")) ? $use_lang : basename($config['default_lang']);
$this->data['user_lang'] = $user_lang_name;
- $SID .= '&amp;set_lang=' . $user_lang_name;
- $_EXTRA_URL[] = 'set_lang=' . $user_lang_name;
+ $SID .= '&amp;language=' . $user_lang_name;
+ $_EXTRA_URL[] = 'language=' . $user_lang_name;
}
else
{