mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-26 08:42:41 +01:00
Don't fatal for diffs with no VCS
Auditors: vrana
This commit is contained in:
parent
f1bd1da062
commit
db2c32acdf
1 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue