Don't fatal for diffs with no VCS
Auditors: vrana
This commit is contained in:
@@ -86,7 +86,9 @@ final class DifferentialRevisionDetailView extends AphrontView {
|
|||||||
$command = 'arc commit';
|
$command = 'arc commit';
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
$next_step = phutil_tag('tt', array(), $command);
|
if ($command) {
|
||||||
|
$next_step = phutil_tag('tt', array(), $command);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if ($next_step) {
|
if ($next_step) {
|
||||||
$properties->addProperty(pht('Next Step'), $next_step);
|
$properties->addProperty(pht('Next Step'), $next_step);
|
||||||
|
|||||||
Reference in New Issue
Block a user