diff options
author | Mate Bartus <mate.bartus@gmail.com> | 2015-11-29 15:49:18 +0100 |
---|---|---|
committer | Mate Bartus <mate.bartus@gmail.com> | 2015-11-29 15:49:18 +0100 |
commit | 4aac878ec792cfbae01b708dd3d0336a75704405 (patch) | |
tree | 4e4e9461701c0bfdee8f800d1f9d0a7e7efa1f9c /phpBB/phpbb/install | |
parent | 1316fe208482d0a56ce6e54b79a1a00ae05d32ce (diff) | |
download | forums-4aac878ec792cfbae01b708dd3d0336a75704405.tar forums-4aac878ec792cfbae01b708dd3d0336a75704405.tar.gz forums-4aac878ec792cfbae01b708dd3d0336a75704405.tar.bz2 forums-4aac878ec792cfbae01b708dd3d0336a75704405.tar.xz forums-4aac878ec792cfbae01b708dd3d0336a75704405.zip |
[ticket/14320] Fix language selector in the installer
PHPBB3-14320
Diffstat (limited to 'phpBB/phpbb/install')
-rw-r--r-- | phpBB/phpbb/install/controller/helper.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/install/controller/helper.php b/phpBB/phpbb/install/controller/helper.php index fdb07d9c4a..ed817f7396 100644 --- a/phpBB/phpbb/install/controller/helper.php +++ b/phpBB/phpbb/install/controller/helper.php @@ -197,7 +197,7 @@ class helper $this->language_cookie = $lang; } - $lang = (!empty($lang) && strpos($lang, '/')) ? $lang : null; + $lang = (!empty($lang) && strpos($lang, '/') === false) ? $lang : null; $this->render_language_select($lang); |