mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-16 01:24:38 +00:00
firmware: fix PHP warning
This commit is contained in:
parent
e8212a6116
commit
194fb1ba0c
@ -770,7 +770,7 @@ class FirmwareController extends ApiMutableModelControllerBase
|
||||
$this->sessionClose(); // long running action, close session
|
||||
$backend = new Backend();
|
||||
$result = array('status' => 'running');
|
||||
$cmd_result = trim($backend->configdRun('firmware status'));
|
||||
$cmd_result = trim($backend->configdRun('firmware status') ?? '');
|
||||
|
||||
$result['log'] = $cmd_result;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user