diff --git a/lang/en/workshop.php b/lang/en/workshop.php index dd46cc041cd..ca036a60dd6 100644 --- a/lang/en/workshop.php +++ b/lang/en/workshop.php @@ -136,7 +136,7 @@ $string['mail2'] = 'The comments and grade can be seen in the Workshop Assignmen $string['mail3'] = 'You can see it in your Workshop Assignment'; //not used in 1.5 $string['mail4'] = 'A comment has been added to the assignment \'$a\' by'; $string['mail5'] = 'The new comment can be seen in the Workshop Assignment \'$a\'.'; -$string['mail6'] = 'Your assessment of the assignment \'$a\' has by reviewed.'; //not used in 1.5 +$string['mail6'] = 'Your assessment of the assignment \'$a\' has been reviewed.'; //not used in 1.5 $string['mail7'] = 'The comments given by the $a can be seen in the Workshop Assignment '; //not used in 1.5 $string['mail8'] = 'The assignment $a is a revised piece of work. '; $string['mail9'] = 'Please assess it in the workshop assignment \'$a\'.'; diff --git a/mod/assignment/upload.php b/mod/assignment/upload.php index 275ae99a6e0..b8bbe01180e 100644 --- a/mod/assignment/upload.php +++ b/mod/assignment/upload.php @@ -57,7 +57,7 @@ $newsubmission->numfiles = 1; if (insert_record("assignment_submissions", $newsubmission)) { add_to_log($course->id, "assignment", "upload", "view.php?a=$assignment->id", "$assignment->id", $cm->id); - assignment_email_teachers($course, $cm, $assignment, $submission); + assignment_email_teachers($course, $cm, $assignment, $newsubmission); print_heading(get_string('uploadedfile')); } else { notify(get_string("uploadnotregistered", "assignment", $newfile_name) );