mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-26 08:42:41 +01:00
Handle empty argv in daemon log view
Summary: This could be empty probably for old logs Test Plan: Ran the controller. Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D3633
This commit is contained in:
parent
511a8bae34
commit
dfe5ae08aa
1 changed files with 3 additions and 1 deletions
|
@ -41,7 +41,9 @@ final class PhabricatorDaemonLogViewController
|
|||
$content = array();
|
||||
|
||||
$argv = $log->getArgv();
|
||||
$argv = implode("\n", $argv);
|
||||
if ($argv) {
|
||||
$argv = implode("\n", $argv);
|
||||
}
|
||||
|
||||
$form = id(new AphrontFormView())
|
||||
->setUser($user)
|
||||
|
|
Loading…
Reference in a new issue