CC-4166: Playlist Builder -> Regular Playlist : clicking Fade in/out button for a empty playlist will cause PHP Fatal Error

- fixed. Not displaying fade setting button if the playst/smartplaylist
is empty.
This commit is contained in:
James 2012-08-08 15:29:09 -04:00
parent 83917ed894
commit d1e6f8178b
6 changed files with 40 additions and 9 deletions

View file

@ -1,5 +1,5 @@
<?php
$items = $this->obj->getContents();
$items = $this->contents;
if (count($items)) : ?>
<?php $i = 0; ?>
<?php foreach($items as $item) :