Merge branch 'MDL-28087_friendly_jabber' of git://github.com/andyjdavis/moodle
[moodle.git] / mod / assignment / lib.php
index 1166c36..84665f8 100644 (file)
@@ -2615,7 +2615,7 @@ function assignment_cron () {
             $eventdata->fullmessage      = $posttext;
             $eventdata->fullmessageformat = FORMAT_PLAIN;
             $eventdata->fullmessagehtml  = $posthtml;
-            $eventdata->smallmessage     = $postsubject;
+            $eventdata->smallmessage     = get_string('assignmentmailsmall', 'assignment', $assignmentinfo);
 
             $eventdata->name            = 'assignment_updates';
             $eventdata->component       = 'mod_assignment';