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

Notice using the switch role feature

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 2.5
    • 2.5
    • Navigation

    Description

      This seems to be a regression of MDL-31983.

      Under Moodle 2.5, logged as admin, go to any course and try "Switch role to student".

      The switch happens but this is shown:

      Notice: Undefined variable: iscurrentuser in lib/navigationlib.php on line 3965
      

      It seems that, or the calculation of $iscurrentuser is missing in generate_user_settings() or the code is incorrectly copied/pasted or similar from load_for_user().

      Ciao

      Attachments

        Issue Links

          Activity

            People

              samhemelryk Sam Hemelryk
              stronk7 Eloy Lafuente (stronk7)
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              David Monllaó David Monllaó
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Clockify

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.