CC-4219: Smart Playlist: Cannot preview static block
-fixed
This commit is contained in:
parent
d366220b85
commit
4d9a31b3c1
2 changed files with 11 additions and 2 deletions
|
@ -191,8 +191,14 @@ class AudiopreviewController extends Zend_Controller_Action
|
|||
'element_id' => isset($track['id'])?$track['id']:"",
|
||||
'element_position' => isset($track['position'])?$track['position']:"",
|
||||
);
|
||||
|
||||
|
||||
|
||||
/* If the track type is static we know it must be
|
||||
* a track because static blocks can only contain
|
||||
* tracks
|
||||
*/
|
||||
if ($track['type'] == 'static') {
|
||||
$track['type'] = 0;
|
||||
}
|
||||
$elementMap['type'] = $track['type'];
|
||||
|
||||
if ($track['type'] == 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue