CC-3423: nowPlaying getCurrentPlaylist doesn't work for next song
-added brackets around other if condition
This commit is contained in:
parent
13e3197ebf
commit
48c8607d17
|
@ -69,7 +69,7 @@ class Application_Model_Schedule {
|
|||
|
||||
$range = array("env"=>APPLICATION_ENV,
|
||||
"schedulerTime"=>$timeNow,
|
||||
"previous"=>isset($results['previous'])?$results['previous']:count($shows['previousShow'])>0?$shows['previousShow'][0]:null,
|
||||
"previous"=>isset($results['previous'])?$results['previous']:(count($shows['previousShow'])>0?$shows['previousShow'][0]:null),
|
||||
"current"=>isset($results['current'])?$results['current']:null,
|
||||
"next"=> isset($results['next'])?$results['next']:(count($shows['nextShow'])>0?$shows['nextShow'][0]:null),
|
||||
"currentShow"=>$shows['currentShow'],
|
||||
|
|
Loading…
Reference in New Issue