CC-1915 playlist name no longer required in form, defaults to "Untitled Playlist"
This commit is contained in:
parent
4cf5a46c67
commit
12dbdf8f4c
7 changed files with 8 additions and 11 deletions
|
@ -120,7 +120,9 @@ class PlaylistController extends Zend_Controller_Action
|
|||
$formdata = $form->getValues();
|
||||
|
||||
$pl = $this->getPlaylist();
|
||||
$pl->setName($formdata["title"]);
|
||||
|
||||
if($formdata["title"])
|
||||
$pl->setName($formdata["title"]);
|
||||
|
||||
if(isset($formdata["description"])) {
|
||||
$pl->setPLMetaData(UI_MDATA_KEY_DESCRIPTION, $formdata["description"]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue