diff options
Diffstat (limited to 'web/lib')
-rw-r--r-- | web/lib/translator.inc.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/lib/translator.inc.php b/web/lib/translator.inc.php index 1070183..5117b99 100644 --- a/web/lib/translator.inc.php +++ b/web/lib/translator.inc.php @@ -79,10 +79,10 @@ function set_lang() { global $streamer, $l10n; $update_cookie = 0; - if (isset($_REQUEST['setlang'])) { + if (isset($_POST['setlang'])) { # visitor is requesting a language change # - $LANG = $_REQUEST['setlang']; + $LANG = $_POST['setlang']; $update_cookie = 1; } elseif (isset($_COOKIE['AURLANG'])) { |