Fix course parameter id instead of code see BT 13518

pull/2487/head
Julio 7 years ago
parent 0f7eda7256
commit eafba336ab
  1. 4
      main/work/work.lib.php

@ -3453,7 +3453,7 @@ function addWorkComment($courseInfo, $userId, $parentWork, $work, $data)
} else {
$teachers = SessionManager::getCoachesByCourseSession(
$sessionId,
$courseInfo['code']
$courseInfo['real_id']
);
if (!empty($teachers)) {
@ -5634,4 +5634,4 @@ function workGetExtraFieldData($workId)
}
return $result;
}
}

Loading…
Cancel
Save