CC-4321: NowPlaying: Cancelling Webstream has no effect and results in OnAir being grayed out
-fixed
This commit is contained in:
parent
79b6d13c16
commit
c043053407
3 changed files with 43 additions and 32 deletions
|
@ -14,11 +14,8 @@ class Application_Model_Schedule
|
|||
$sql = "SELECT COUNT(*) FROM ".$CC_CONFIG["scheduleTable"]
|
||||
." WHERE file_id = {$p_fileId} AND ends > NOW() AT TIME ZONE 'UTC'";
|
||||
$count = $con->query($sql)->fetchColumn(0);
|
||||
if (is_numeric($count) && ($count != '0')) {
|
||||
return TRUE;
|
||||
} else {
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
return (is_numeric($count) && ($count != '0'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue