calling trim on null is deprecated
parent
0e2e1903c1
commit
9276ae7d67
|
@ -272,7 +272,8 @@ public static function getStatuses() {
|
|||
$cmd = getZmuCommand(' --janus-pin -m '.$this->{'Id'});
|
||||
$output = shell_exec($cmd);
|
||||
Debug("Running $cmd output: $output");
|
||||
return trim($output);
|
||||
|
||||
return $output ? trim($output) : $output;
|
||||
}
|
||||
public function Control() {
|
||||
if (!property_exists($this, 'Control')) {
|
||||
|
|
Loading…
Reference in New Issue