Merge branch 'MDL-56252-master' of git://github.com/ryanwyllie/moodle

This commit is contained in:
David Monllao
2016-10-24 10:25:32 +08:00
6 changed files with 13 additions and 2 deletions
+2 -1
View File
@@ -147,7 +147,8 @@ class helper {
$data->messageid = null;
if (isset($contact->smallmessage)) {
$data->ismessaging = true;
$data->lastmessage = $contact->smallmessage;
// Strip the HTML tags from the message for displaying in the contact area.
$data->lastmessage = clean_param($contact->smallmessage, PARAM_NOTAGS);
$data->useridfrom = $contact->useridfrom;
if (isset($contact->messageid)) {
$data->messageid = $contact->messageid;