mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-25 06:50:55 +01:00
Minor: cosmetic fix to always use the small 50x50 picture in the new profile layout.
This commit is contained in:
parent
bdbe9df65e
commit
aba5b48202
1 changed files with 1 additions and 4 deletions
|
@ -114,10 +114,7 @@ class PhabricatorPeopleProfileController extends PhabricatorPeopleController {
|
||||||
throw new Exception("Unknown page '{$this->page}'!");
|
throw new Exception("Unknown page '{$this->page}'!");
|
||||||
}
|
}
|
||||||
|
|
||||||
$src_phid = $profile->getProfileImagePHID();
|
|
||||||
if (!$src_phid) {
|
|
||||||
$src_phid = $user->getProfileImagePHID();
|
$src_phid = $user->getProfileImagePHID();
|
||||||
}
|
|
||||||
$picture = PhabricatorFileURI::getViewURIForPHID($src_phid);
|
$picture = PhabricatorFileURI::getViewURIForPHID($src_phid);
|
||||||
|
|
||||||
$header = new PhabricatorProfileHeaderView();
|
$header = new PhabricatorProfileHeaderView();
|
||||||
|
|
Loading…
Reference in a new issue