? config.php
? patch
? patch.txt
Index: user/view.php
===================================================================
RCS file: /cvsroot/moodle/moodle/user/view.php,v
retrieving revision 1.168.2.30
diff -u -r1.168.2.30 view.php
--- user/view.php	18 Mar 2010 22:54:28 -0000	1.168.2.30
+++ user/view.php	25 Apr 2010 10:10:02 -0000
@@ -345,7 +345,7 @@
                             // ... but not from $USER
                             $class = 'class="dimmed"';
                         }
-                        $courselisting .= "<a href=\"{$CFG->wwwroot}/user/view.php?id={$user->id}&amp;course={$mycourse->id}\" $class >"
+                        $courselisting .= "<a href=\"{$CFG->wwwroot}/course/view.php?id={$mycourse->id}\" $class >"
                             . format_string($mycourse->fullname) . "</a>, ";
                     }
                     else {
