Minor - Format code

pull/3173/head
Julio Montoya 7 years ago
parent 3c1f083e40
commit 3ccb779233
  1. 2
      main/mySpace/myStudents.php
  2. 2
      main/work/work.lib.php

@ -964,7 +964,7 @@ if (api_get_setting('allow_terms_conditions') === 'true') {
$details = false;
if(!empty($courseInfo)) {
if (!empty($courseInfo)) {
$nb_assignments = Tracking::count_student_assignments($student_id, $course_code, $sessionId);
$messages = Tracking::count_student_messages($student_id, $course_code, $sessionId);
$links = Tracking::count_student_visited_links($student_id, $courseInfo['real_id'], $sessionId);

@ -3753,7 +3753,7 @@ function sendAlertToUsers($workId, $courseInfo, $sessionId)
if ($send == SEND_EMAIL_EVERYONE || $send == SEND_EMAIL_STUDENTS) {
// Send mail only to sender
$studentList = [[
'user_id' => api_get_user_id()
'user_id' => api_get_user_id(),
]];
$userList = array_merge($userList, $studentList);
}

Loading…
Cancel
Save