Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-18914

Navigation problem in user's profile messaging preferences

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 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...

        Attachments

          Activity

            People

            Assignee:
            andyjdavis Andrew Davis
            Reporter:
            dajan Dominique-Alain Jan
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              24/Nov/10