Skip to content
Permalink
Browse files

Merge branch 'MDL-61196_33' of git://github.com/markn86/moodle into M…

…OODLE_33_STABLE
  • Loading branch information...
andrewnicols committed Mar 2, 2018
2 parents 5fafbd8 + 163a9d2 commit 8fda9b0267ffef5fb3388a598ab4be6ec2fe1871
Showing with 4 additions and 0 deletions.
  1. +4 −0 message/output/popup/classes/output/popup_notification.php
@@ -70,6 +70,10 @@ public function export_for_template(\renderer_base $output) {
$context->timecreatedpretty = get_string('ago', 'message', format_time(time() - $context->timecreated));
$context->text = message_format_message_text($context);
$context->read = $context->timeread ? true : false;
// Need to strip any HTML from these.
$context->subject = clean_param($context->subject, PARAM_TEXT);
$context->contexturlname = clean_param($context->contexturlname, PARAM_TEXT);
$context->shortenedsubject = shorten_text($context->subject, 125);
if (!empty($context->component) && substr($context->component, 0, 4) == 'mod_') {

0 comments on commit 8fda9b0

Please sign in to comment.
You can’t perform that action at this time.