prevented shuffling from failing on playlists containing smartblocks
This commit is contained in:
parent
cb0daddaf5
commit
79d5d98843
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ class PlaylistController extends Zend_Controller_Action
|
|||
|
||||
$this->view->obj = $obj;
|
||||
$this->view->contents = $obj->getContents();
|
||||
if ($formIsValid) {
|
||||
if ($formIsValid && $obj instanceof Application_Model_Block) {
|
||||
$this->view->poolCount = $obj->getListofFilesMeetCriteria()['count'];
|
||||
}
|
||||
$this->view->showPoolCount = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue