-
Bug
-
Resolution: Fixed
-
Minor
-
2.8.9, 2.9.2
-
MOODLE_28_STABLE, MOODLE_29_STABLE
-
MOODLE_28_STABLE, MOODLE_29_STABLE
-
MDL-51837-master -
Steps to reproduce:
- Using a Moodle instance with email sending not configured, login as a student.
- Go to Preferences ▶︎ User account ▶︎ Edit profile
- Change the email address and click "Update profile"
- Confirm that you see the "could not send email!" message.
- Logout then login as admin.
- Make sure that developer mode is on.
- Go to Site administration ▶︎ Users ▶︎ Accounts ▶︎ Browse list of users
- Click the Edit icon for the user with the pending email change.
- On the Email field, confirm that something like "Change pending. Open the link sent to you at [user@email.com]." is being shown.
- Make some changes on the user's profile (i.e. description) and click "Update profile"
- The following messages will be shown:
Notice: Undefined property: stdClass::$email in /Users/junpataleta/Work/moodles/integration_29/moodle/user/editadvanced_form.php on line 262
Notice: Undefined property: stdClass::$email in /Users/junpataleta/Work/moodles/integration_29/moodle/user/editadvanced_form.php on line 263