Skip to content
Snippets Groups Projects
Commit 3ba1a2b7 authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

fixes #3728

Closes #3728

Merge request studip/studip!2590
parent 3af7a661
No related branches found
No related tags found
No related merge requests found
......@@ -1173,7 +1173,7 @@ class SemBrowse {
}
$installed_languages = array_keys(Config::get()->INSTALLED_LANGUAGES);
$language = $_SESSION['_language'] ?: reset($installed_languages);
$language = $_SESSION['_language'] ?? reset($installed_languages);
$option = Config::get()->COURSE_SEARCH_NAVIGATION_OPTIONS[$option_name];
if (!$option['visible'] || $option['target'] !== $target) {
return null;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment