cowboy commit -- fixing fatal I introduced from D4174

Summary: we don't always have a diff so instead set an explicit title in the controller.

Test Plan: no more fatals. grepped carefully for every call site and tested them all
This commit is contained in:
Bob Trahan
2012-12-12 21:21:56 -08:00
parent 2f82210e46
commit 86a106d0b1
5 changed files with 24 additions and 3 deletions

View File

@@ -132,6 +132,8 @@ final class DifferentialDiffViewController extends DifferentialController {
->setVisibleChangesets($changesets)
->setRenderingReferences($refs)
->setStandaloneURI('/differential/changeset/')
->setDiff($diff)
->setTitle('D'.$diff->getID());
->setUser($request->getUser());
return $this->buildStandardPageResponse(