From 2ca395ee8f2b24920f0dad279ea802672878bcb2 Mon Sep 17 00:00:00 2001 From: Yannick Warnier Date: Sun, 6 Jan 2013 14:57:12 -0500 Subject: [PATCH] Platform administrator should see tracking for specific students in *all* courses, not just the one he's teacher in - refs BT#5671 --- main/mySpace/myStudents.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main/mySpace/myStudents.php b/main/mySpace/myStudents.php index c2e5ddc03d..dbfbf065ef 100644 --- a/main/mySpace/myStudents.php +++ b/main/mySpace/myStudents.php @@ -209,7 +209,7 @@ $courses_in_session = array(); //See #4676 $drh_can_access_all_courses = false; -if (api_is_drh()) { +if (api_is_drh() || api_is_platform_admin()) { $drh_can_access_all_courses = true; } @@ -1053,4 +1053,4 @@ if ($export_csv) { exit; } /* FOOTER */ -Display :: display_footer(); \ No newline at end of file +Display :: display_footer();