Minor code tweak for new, stricter inspections.
This commit is contained in:
parent
1a1551754f
commit
4cbb9dd755
|
@ -219,7 +219,7 @@ class NowPlayingApiGenerator
|
|||
continue;
|
||||
}
|
||||
|
||||
if ($lastCued->getTimestampCued() >= $currentSongQueueEntry?->getTimestampCued() ?? 0) {
|
||||
if ($lastCued->getTimestampCued() >= ($currentSongQueueEntry?->getTimestampCued() ?? 0)) {
|
||||
return $lastCued;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue