From 9a03fe6ebd80822ba2324fbfa7bb10c04b6ce710 Mon Sep 17 00:00:00 2001 From: Stephen Bourget Date: Mon, 21 Dec 2015 20:37:54 -0500 Subject: [PATCH] MDL-51445 Chat: Fix broken profile links --- mod/chat/locallib.php | 1 + 1 file changed, 1 insertion(+) diff --git a/mod/chat/locallib.php b/mod/chat/locallib.php index 31ea0c1e1ad..21dd977c88e 100644 --- a/mod/chat/locallib.php +++ b/mod/chat/locallib.php @@ -237,6 +237,7 @@ class user_message implements renderable { */ public function __construct($senderprofile, $sendername, $avatar, $mymessageclass, $time, $message, $theme) { + $this->senderprofile = $senderprofile; $this->sendername = $sendername; $this->avatar = $avatar; $this->mymessageclass = $mymessageclass;