CC-4178: Smart Playlist: Cannot update the block's title
-fixed
This commit is contained in:
parent
45f08e41d1
commit
b17cd2b3c9
|
@ -488,7 +488,7 @@ class PlaylistController extends Zend_Controller_Action
|
||||||
$obj = $this->getPlaylist($type);
|
$obj = $this->getPlaylist($type);
|
||||||
$obj->setName($name);
|
$obj->setName($name);
|
||||||
$obj->setDescription($description);
|
$obj->setDescription($description);
|
||||||
$this->view->description = $obj->getDescription();
|
$this->view->description = $description();
|
||||||
$this->view->playlistName = $name;
|
$this->view->playlistName = $name;
|
||||||
$this->view->modified = $obj->getLastModified("U");
|
$this->view->modified = $obj->getLastModified("U");
|
||||||
} catch (PlaylistOutDatedException $e) {
|
} catch (PlaylistOutDatedException $e) {
|
||||||
|
@ -499,27 +499,6 @@ class PlaylistController extends Zend_Controller_Action
|
||||||
$this->playlistUnknownError($e);
|
$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()
|
public function saveAction()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue