cc-2229-refactor-now-playing-code
-bug fix with red gap bar showing even when there was no gap
This commit is contained in:
parent
038f2e1c69
commit
1337efcdcd
@ -73,7 +73,8 @@ class Application_Model_Nowplaying
|
||||
|
||||
//append show gap time row
|
||||
$gapTime = $si->getShowEndGapTime();
|
||||
$data[] = Application_Model_Nowplaying::CreateGapRow($gapTime);
|
||||
if ($gapTime > 0)
|
||||
$data[] = Application_Model_Nowplaying::CreateGapRow($gapTime);
|
||||
}
|
||||
|
||||
return array("currentShow"=>Show_DAL::GetCurrentShow($timeNow), "rows"=>$data);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user