SAAS-794: Schedule/get-current-playlist can take too long to respond
Fix for undefined variable
This commit is contained in:
parent
099537a1b7
commit
c85457ec0b
|
@ -235,6 +235,7 @@ SQL;
|
|||
|
||||
$previousMedia = CcScheduleQuery::create()
|
||||
->filterByDbId($currentMediaScheduleId-1)
|
||||
->filterByDbPlayoutStatus(0, Criteria::GREATER_THAN)
|
||||
->orderByDbStarts()
|
||||
->findOne();
|
||||
if (isset($previousMedia)) {
|
||||
|
|
Loading…
Reference in New Issue