SAAS-1031: Can't add tracks to a new playlist
This commit is contained in:
parent
91cad81c4b
commit
f36ff944c2
1 changed files with 3 additions and 1 deletions
|
@ -1,6 +1,8 @@
|
|||
<?php
|
||||
$items = $this->contents;
|
||||
if (count($items) && ($this->obj instanceof Application_Model_Block && $this->obj->isStatic())) : ?>
|
||||
$isStaticSmartBlock = ($this->obj instanceof Application_Model_Block && $this->obj->isStatic());
|
||||
$isPlaylist = ($this->obj instanceof Application_Model_Playlist);
|
||||
if (count($items) && ($isStaticSmartBlock || $isPlaylist)) : ?>
|
||||
<?php $i = 0; ?>
|
||||
<?php foreach($items as $item) :
|
||||
$staticBlock = null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue