CC-2137: Playlist builder doesnt work. Shows blank page

Fixed bug with new return type from Playlist::create() in the PlaylistController.
This commit is contained in:
Paul Baranowski 2011-03-31 14:40:55 -04:00
parent 403b08351c
commit c34b25883f
1 changed files with 26 additions and 26 deletions

View File

@ -88,10 +88,10 @@ class PlaylistController extends Zend_Controller_Action
$userInfo = Zend_Auth::getInstance()->getStorage()->read();
$pl = new Playlist();
$pl_id = $pl->create("Untitled Playlist");
$pl->create("Untitled Playlist");
$pl->setPLMetaData('dc:creator', $userInfo->login);
$this->changePlaylist($pl_id);
$this->changePlaylist($pl->getId());
$form = new Application_Form_PlaylistMetadata();
$this->view->fieldset = $form;
$this->view->form = $this->view->render('playlist/new.phtml');