Moodle

Navigation problem in user's profile messaging preferences

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 2.0
  • Fix Version/s: 2.0
  • Component/s: Accessibility
  • Labels:
    None
  • Database:
    MySQL
  • Difficulty:
    Easy
  • Affected Branches:
    MOODLE_20_STABLE
  • Fixed Branches:
    MOODLE_20_STABLE

Description

In the user's profile, when editing the Messaging preferences, a click on the user's name in the bred crumb menu gives a 404 error.
There is an error in the URL. It states for example

http://localhost/moodle-dev/message/view.php?id=3&course=1

instead of

http://localhost/moodle-dev/user/view.php?id=3&course=1

Change has to me made in file /messages/edit.php at line 181

$navlinks[] = array('name' => $userfullname,
'link' => "$CFG->wwwroot/user/view.php?id=$user->id&course=$course->id",
'type' => 'misc');

I think...

Activity

Hide
Martin Dougiamas added a comment -

Andrew can you please check this out and check it in?

Show
Martin Dougiamas added a comment - Andrew can you please check this out and check it in?
Hide
Andrew Davis added a comment -

checked out and checked in. well spotted.

Show
Andrew Davis added a comment - checked out and checked in. well spotted.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: