diff --git a/main/work/work.lib.php b/main/work/work.lib.php index e6f11dc85a..36fdc696dd 100755 --- a/main/work/work.lib.php +++ b/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; -} \ No newline at end of file +}