Don't fatal for diffs with no VCS

Auditors: vrana
This commit is contained in:
epriestley
2013-02-19 15:19:28 -08:00
parent f1bd1da062
commit db2c32acdf

View File

@@ -86,7 +86,9 @@ final class DifferentialRevisionDetailView extends AphrontView {
$command = 'arc commit';
break;
}
$next_step = phutil_tag('tt', array(), $command);
if ($command) {
$next_step = phutil_tag('tt', array(), $command);
}
}
if ($next_step) {
$properties->addProperty(pht('Next Step'), $next_step);