mirror of
https://we.phorge.it/source/phorge.git
synced 2025-02-27 22:19:29 +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();
|
$content = array();
|
||||||
|
|
||||||
$argv = $log->getArgv();
|
$argv = $log->getArgv();
|
||||||
|
if ($argv) {
|
||||||
$argv = implode("\n", $argv);
|
$argv = implode("\n", $argv);
|
||||||
|
}
|
||||||
|
|
||||||
$form = id(new AphrontFormView())
|
$form = id(new AphrontFormView())
|
||||||
->setUser($user)
|
->setUser($user)
|
||||||
|
|
Loading…
Add table
Reference in a new issue