Sfoglia il codice sorgente

Fix teacher time report by teacher - refs BT#14642

Angel Fernando Quiroz Campos 6 anni fa
parent
commit
7583bca0d4
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      main/admin/teacher_time_report.php

+ 1 - 1
main/admin/teacher_time_report.php

@@ -230,7 +230,7 @@ if (!empty($selectedSession)) {
 
 if (!empty($selectedTeacher)) {
     $withFilter = true;
-    $teacher = api_get_user_info();
+    $teacher = api_get_user_info($selectedTeacher);
     $teacherData = [
         'userId' => $teacher['user_id'],
         'lastname' => $teacher['lastname'],