Browse Source

Course admin can export to pdf see BT#12819

jmontoyaa 7 years ago
parent
commit
2b35e8125c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      main/attendance/index.php

+ 1 - 1
main/attendance/index.php

@@ -331,7 +331,7 @@ switch ($action) {
         );
         break;
     case 'calendar_logins':
-        if ($allowToEdit || api_is_drh()) {
+        if (api_is_course_admin() || api_is_drh()) {
             $attendanceController->getAttendanceBaseInLogin(false, true);
         }
         break;