Minor - fix PHP notice

pull/2487/head
jmontoyaa 7 years ago
parent c557386ae9
commit 90c3827792
  1. 1
      main/inc/lib/course.lib.php

@ -2760,6 +2760,7 @@ class CourseManager
";
} else {
$withSpecialCourses = $withoutSpecialCourses = '';
$languageCondition = '';
$onlyInUserLanguage = api_get_configuration_value('my_courses_show_courses_in_user_language_only');
if ($onlyInUserLanguage) {
$userInfo = api_get_user_info(api_get_user_id());

Loading…
Cancel
Save