We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent beae46a commit 5acc3b2Copy full SHA for 5acc3b2
main/inc/ajax/course.ajax.php
@@ -125,7 +125,7 @@
125
}
126
break;
127
case 'search_course':
128
- if (api_is_teacher()) {
+ if (api_is_teacher() || api_is_platform_admin()) {
129
if (isset($_GET['session_id']) && !empty($_GET['session_id'])) {
130
//if session is defined, lets find only courses of this session
131
$courseList = SessionManager::get_course_list_by_session_id(
0 commit comments