Skip to content

Commit 87d8da6

Browse files
authored
Actually get uselang param from URL query string (#55)
Fix a copy-paste error from dcb795f. Bug: T313776
1 parent a336ffe commit 87d8da6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Service/Intuition.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public static function serviceFactory(
3030
// Use lang from the 'lang' query parameter or the 'lang' session variable.
3131
$queryLang = false;
3232
if ($currentRequest->query->has('uselang')) {
33-
$queryLang = $currentRequest->query->has('uselang');
33+
$queryLang = $currentRequest->query->get('uselang');
3434
if (!empty($queryLang)) {
3535
$useLang = $queryLang;
3636
}

0 commit comments

Comments
 (0)