CC-5310 : Playlist -> Crash happens on draging a song after a webstream into a playlist

This commit is contained in:
Naomi Aro 2013-08-27 19:30:17 -04:00
parent 12a62a3827
commit 6d5531f341
1 changed files with 11 additions and 8 deletions

View File

@ -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();