|
@@ -4189,6 +4189,7 @@ var exercises = [ '; // '
|
|
|
$total_messages = $DB->get_record_sql("SELECT COUNT(*) AS total FROM {iassign_submission_comment} AS c, {iassign_submission} AS s, {iassign_statement} AS st, {iassign} AS ias "
|
|
|
. " WHERE c.return_status=0 AND c.receiver=:receiver AND c.iassign_submissionid=s.id AND s.iassign_statementid=st.id AND st.iassignid=ias.id AND ias.course=:course", $params);
|
|
|
}
|
|
|
+
|
|
|
else {
|
|
|
$params = array('userid' => $USER->id, 'course' => $COURSE->id, 'receiver' => '2');
|
|
|
|