Commit a6d9a485 authored by Robert Lyon's avatar Robert Lyon
Browse files

Bug 1837660: Need to return id to do subsequent query

So that the correct user is fetched


Change-Id: I59bb680f7b450bf2fb40256a44fae4a2413590f2
Signed-off-by: Robert Lyon's avatarRobert Lyon <>
(cherry picked from commit 99cab791)
parent 34e1861f
......@@ -1317,7 +1317,7 @@ class AuthLdap extends Auth {
if (
($d1 = get_record('usr', 'email', $todb->email))
($d2 = record_exists('artefact_internal_profile_email', 'email', $todb->email))
($d2 = get_record('artefact_internal_profile_email', 'email', $todb->email))
) {
if (empty($d1)) {
$d1 = get_record('usr', 'id', $d2->owner);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment