Merge branch 'MDL-64506' of git://github.com/Chocolate-lightning/moodle
[moodle.git] / lib / moodlelib.php
index de6960d..003ca15 100644 (file)
@@ -6047,6 +6047,7 @@ function email_to_user($user, $from, $subject, $messagetext, $messagehtml = '',
         'siteshortname' => $SITE->shortname,
         'sitewwwroot' => $CFG->wwwroot,
         'subject' => $subject,
+        'prefix' => $CFG->emailsubjectprefix,
         'to' => $user->email,
         'toname' => fullname($user),
         'from' => $mail->From,