1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-29 18:22: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:
vrana 2012-10-04 16:50:12 -07:00
parent 511a8bae34
commit dfe5ae08aa

View file

@ -41,7 +41,9 @@ final class PhabricatorDaemonLogViewController
$content = array();
$argv = $log->getArgv();
if ($argv) {
$argv = implode("\n", $argv);
}
$form = id(new AphrontFormView())
->setUser($user)