Fixing wrong user id

1.9.x
Julio Montoya 11 years ago
parent ac4e4df6bf
commit f959a6aa56
  1. 2
      main/inc/lib/course.lib.php

@ -4072,7 +4072,7 @@ class CourseManager {
}
} else {
// Add new teachers only
foreach ($teachers as $userId => $userInfo) {
foreach ($teachers as $userId) {
SessionManager::set_coach_to_course_session($userId, $session['id'], $course_code);
}
}

Loading…
Cancel
Save