1
0
Fork 0
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:
epriestley 2011-12-24 09:12:01 -08:00
parent bdbe9df65e
commit aba5b48202

View file

@ -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();