CC-4770: Playlist's length doesn't counts Webstream and Smartblock in
- the bug was introduced by CC-4668 - fixed
This commit is contained in:
parent
3a72302a3c
commit
594a38da16
|
@ -89,9 +89,9 @@ class CcPlaylist extends BaseCcPlaylist {
|
|||
{
|
||||
$sql = <<<SQL
|
||||
SELECT SUM(cliplength) FROM cc_playlistcontents as pc
|
||||
JOIN cc_files as f ON pc.file_id = f.id
|
||||
LEFT JOIN cc_files as f ON pc.file_id = f.id
|
||||
WHERE PLAYLIST_ID = :p1
|
||||
AND f.file_exists = true
|
||||
AND f.file_exists is NUll or f.file_exists = true
|
||||
SQL;
|
||||
$stmt = $con->prepare($sql);
|
||||
$stmt->bindValue(':p1', $this->getDbId());
|
||||
|
|
Loading…
Reference in New Issue