Explorar el Código

Fix teacher time report by teacher - refs BT#14642

Angel Fernando Quiroz Campos hace 6 años
padre
commit
7583bca0d4
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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'],