CC-5310 : Playlist -> Crash happens on draging a song after a webstream into a playlist
This commit is contained in:
parent
12a62a3827
commit
6d5531f341
|
@ -10,6 +10,9 @@ if ($item['type'] == 2) {
|
|||
$staticBlock = $bl->isStatic();
|
||||
$fileUrl = null;
|
||||
}
|
||||
else if ($item['type'] == 1) {
|
||||
$fileUrl = null;
|
||||
}
|
||||
else if ($item['type'] == 0) {
|
||||
$audiofile = Application_Model_StoredFile::RecallById($item['item_id']);
|
||||
$fileUrl = $audiofile->getFileUrl();
|
||||
|
|
Loading…
Reference in New Issue