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

PHP Notice when submitting change password form

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.5
    • 2.5
    • Authentication
    • MOODLE_25_STABLE
    • MOODLE_25_STABLE
    • m25_MDL-37515_Notice_when_submitting_change_password_form
    • Hide

      Testing difficulty: easy

      1. Login to Moodle
      2. Turn debugging to DEVELOPER level
      3. Click Administration > My profile settings > Change password
      4. Fill out the form and submit: no warning is displayed
      Show
      Testing difficulty: easy Login to Moodle Turn debugging to DEVELOPER level Click Administration > My profile settings > Change password Fill out the form and submit: no warning is displayed

      Steps to reproduce:

      1. Login to site
      2. Turn debugging to developer level
      3. Click My Profile Settings > Change Password
      4. Fill out the form and submit

      What happens:

      After submitting the change password form I get:

      Notice: Undefined variable: user in /home/simonc/code/mdl22/login/change_password.php on line 115

      The password is successfully changed though.

      What should happen:

      No warning should be displayed.

      Seems to be due to this patch:

      https://tracker.moodle.org/browse/MDL-21342

            matteo Matteo Scaramuccia
            simoncoggins Simon Coggins
            Petr Skoda Petr Skoda
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Rossiani Wijaya Rossiani Wijaya
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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