]> git.mjollnir.org Git - moodle.git/commitdiff
user profile MDL-18914 Clicking on username in breadcrumb trail on messaging preferen...
authorAndrew Davis <andrew@affinitysoftware.net>
Wed, 18 Nov 2009 02:49:00 +0000 (02:49 +0000)
committerAndrew Davis <andrew@affinitysoftware.net>
Wed, 18 Nov 2009 02:49:00 +0000 (02:49 +0000)
message/edit.php

index 104689b355e14fe230644b796023745f98b9ca5e..e0a13117665086820e42718e6b80c1b4f351bafc 100644 (file)
@@ -175,7 +175,7 @@ if (has_capability('moodle/course:viewparticipants', $coursecontext) ||
     has_capability('moodle/site:viewparticipants', $systemcontext)) {
     $PAGE->navbar->add($strparticipants, new moodle_url($CFG->wwwroot.'/message/index.php', array('id'=>$course->id)));
 }
-$PAGE->navbar->add($userfullname, new moodle_url($CFG->wwwroot.'/message/view.php', array('id'=>$user->id, 'course'=>$course->id)));
+$PAGE->navbar->add($userfullname, new moodle_url($CFG->wwwroot.'/user/view.php', array('id'=>$user->id, 'course'=>$course->id)));
 $PAGE->navbar->add($streditmymessage);
 $PAGE->set_title("$course->shortname: $streditmymessage");
 if ($course->id != SITEID) {