mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-24 06:20:56 +01:00
Fix an issue with AuthProviderConfig handles
Summary: Fixes T11156. These were never correct, but also never actually used until I made timelines load object handles unconditionally in D16111. Test Plan: Viewed an auth provider with transactions, no more fatal. Reviewers: chad Reviewed By: chad Maniphest Tasks: T11156 Differential Revision: https://secure.phabricator.com/D16128
This commit is contained in:
parent
4e14b3f3a5
commit
f9e3108938
1 changed files with 4 additions and 2 deletions
|
@ -30,10 +30,12 @@ final class PhabricatorAuthAuthProviderPHIDType extends PhabricatorPHIDType {
|
|||
array $objects) {
|
||||
|
||||
foreach ($handles as $phid => $handle) {
|
||||
$provider = $objects[$phid];
|
||||
$provider = $objects[$phid]->getProvider();
|
||||
|
||||
if ($provider) {
|
||||
$handle->setName($provider->getProviderName());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue