← Back to team overview

mahara-contributors team mailing list archive

[Bug 1838908] A change has been merged

 

Reviewed:  https://reviews.mahara.org/10148
Committed: https://git.mahara.org/mahara/mahara/commit/0cd7ed99a5e73fdc9a648ceb2162dc055fce143e
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch:    master

commit 0cd7ed99a5e73fdc9a648ceb2162dc055fce143e
Author: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
Date:   Mon Jul 8 09:01:32 2019 +1200

Bug 1838908: Email info out of sync

When adding a non-primary email via:
set_profile_field($userid, 'email', $email, TRUE);

we shouldn't set email field in usr table to this new email address
as the usr.email should be the primary address one

Change-Id: Id8e780f3d7efa3baaae6383932e825a9cceb5e46
Signed-off-by: Robert Lyon <robertl@xxxxxxxxxxxxxxx>

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1838908

Title:
  Email info out of sync

Status in Mahara:
  Fix Committed

Bug description:
  When adding a non-primary email via:
   set_profile_field($userid, 'email', $email, TRUE);

  we shouldn't set email field in usr table to this new email address
  as the usr.email should be the primary address one

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1838908/+subscriptions


References