зеркало из https://github.com/mozilla/pjs.git
Bug 337661: LDAP user login failure: Can't locate object method "realname" via package "Bugzilla::User" - Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit a=justdave
This commit is contained in:
Родитель
a334962409
Коммит
e22e95b114
|
@ -109,7 +109,7 @@ sub create_or_update_user {
|
|||
$dbh->do('UPDATE profiles SET login_name = ? WHERE userid = ?',
|
||||
$username, $user->id);
|
||||
}
|
||||
if ($real_name && $user->realname ne $real_name) {
|
||||
if ($real_name && $user->name ne $real_name) {
|
||||
$dbh->do('UPDATE profiles SET realname = ? WHERE userid = ?',
|
||||
undef, $real_name, $user->id);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче