CC-84: Smart Playlists

- remove 'add to playlist' option on showbuilder screen
This commit is contained in:
denise 2012-08-02 16:50:35 -04:00
parent ef994aa449
commit 361e681a59
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ class LibraryController extends Zend_Controller_Action
if (!$obj->isStatic()){
unset($menu["play"]);
}
if ($isAdminOrPM || $obj->getCreatorId() == $user->getId()) {
if (($isAdminOrPM || $obj->getCreatorId() == $user->getId()) && $screen == "playlist") {
if ($this->obj_sess->type === "playlist") {
$menu["pl_add"] = array("name"=> "Add to Playlist", "icon" => "add-playlist", "icon" => "copy");
}