mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 00:42:41 +01:00
Fix an issue with rendering some commit hovercards
Summary: This logic wasn't quite right. Test Plan: Hovered over a recognized commit, got a valid hovercard Reviewers: chad Reviewed By: chad Differential Revision: https://secure.phabricator.com/D14925
This commit is contained in:
parent
2328e739b7
commit
1b4f5e38ce
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ final class DiffusionHovercardEngineExtension
|
|||
|
||||
$author_phid = $commit->getAuthorPHID();
|
||||
if ($author_phid) {
|
||||
$author = $viewer->loadHandle($author)->renderLink();
|
||||
$author = $viewer->renderHandle($author_phid);
|
||||
} else {
|
||||
$commit_data = $commit->loadCommitData();
|
||||
$author = phutil_tag('em', array(), $commit_data->getAuthorName());
|
||||
|
|
Loading…
Reference in a new issue