Fix two issues with callsign-free repositories

Summary:
Ref T4245. These callsites don't quite do the right thing if a repository has no callsign.

See also <https://github.com/phacility/phabricator/pull/822>.

Test Plan: Made a comment on a commit in a repository with no callsign.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T4245

Differential Revision: https://secure.phabricator.com/D15344
This commit is contained in:
epriestley
2016-02-25 03:07:47 -08:00
parent 944539a786
commit 5b9d8aeae7
2 changed files with 2 additions and 4 deletions

View File

@@ -103,7 +103,7 @@ final class DiffusionExternalController extends DiffusionController {
array(
'href' => $href,
),
$commit->getMonogram()),
$commit->getURI()),
$commit->loadCommitData()->getSummary(),
);
}