From 8a083dc75b0ac46c0d52006c76181890d0c0a2c9 Mon Sep 17 00:00:00 2001 From: poltawski Date: Sun, 22 Mar 2009 22:40:07 +0000 Subject: [PATCH] Messages block: Incorrect link to user profile The block incorrectly links to site profile in the current pageid. This doens't make sense in a number of different scenarios, but most notably if the user who messaged isn't enrolled in the current course. Instead link to the profile at site context like the messaging popup does. Fixes: MDL-18279 MDL-6890 MDL-5887 merged from MOODLE_19_STABLE --- blocks/messages/block_messages.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/blocks/messages/block_messages.php b/blocks/messages/block_messages.php index f86833cc10..0c669bbb97 100644 --- a/blocks/messages/block_messages.php +++ b/blocks/messages/block_messages.php @@ -40,8 +40,8 @@ class block_messages extends block_base { $this->content->text .= '