CC-4178: Smart Playlist: Cannot update the block's title

-fixed
This commit is contained in:
denise 2012-08-16 15:58:03 -04:00
parent 45f08e41d1
commit b17cd2b3c9
1 changed files with 1 additions and 22 deletions

View File

@ -488,7 +488,7 @@ class PlaylistController extends Zend_Controller_Action
$obj = $this->getPlaylist($type);
$obj->setName($name);
$obj->setDescription($description);
$this->view->description = $obj->getDescription();
$this->view->description = $description();
$this->view->playlistName = $name;
$this->view->modified = $obj->getLastModified("U");
} catch (PlaylistOutDatedException $e) {
@ -499,27 +499,6 @@ class PlaylistController extends Zend_Controller_Action
$this->playlistUnknownError($e);
}
}
/*
public function setPlaylistDescriptionAction()
{
$description = $this->_getParam('description', "");
$type = $this->_getParam('type');
try {
$obj = $this->getPlaylist($type);
$obj->setDescription($description);
$this->view->description = $obj->getDescription();
$this->view->modified = $obj->getLastModified("U");
} catch (PlaylistOutDatedException $e) {
$this->playlistOutdated($e);
} catch (PlaylistNotFoundException $e) {
$this->playlistNotFound($type);
} catch (Exception $e) {
$this->playlistUnknownError($e);
}
}
*/
public function saveAction()
{