Commit dc407372 authored by Robert Lyon's avatar Robert Lyon Committed by Gerrit Code Review

Merge "Bug 1837660: Need to return id to do subsequent query"

parents 0f82d718 99cab791
......@@ -1328,7 +1328,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