fix(legacy): default values when array is null
This commit is contained in:
parent
32cb67806a
commit
3f67d36909
1 changed files with 2 additions and 2 deletions
|
@ -266,8 +266,8 @@ SQL;
|
|||
|
||||
//format the fades in format 00(.000000)
|
||||
$fades = $this->getFadeInfo($row['position']);
|
||||
$row['fadein'] = $fades[0];
|
||||
$row['fadeout'] = $fades[1];
|
||||
$row['fadein'] = $fades[0] ?? null;
|
||||
$row['fadeout'] = $fades[1] ?? null;
|
||||
|
||||
// format the cues in format 00:00:00(.0)
|
||||
// we need to add the '.0' for cues and not fades
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue