Эх сурвалжийг харах

Course admin can export to pdf see BT#12819

jmontoyaa 7 жил өмнө
parent
commit
2b35e8125c

+ 1 - 1
main/attendance/index.php

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