CC-2301 : fixing changed function name after merging with master.

This commit is contained in:
Naomi 2013-05-01 11:41:07 -04:00
parent 92ef0608d6
commit 2b5a8b0d4b
1 changed files with 2 additions and 2 deletions

View File

@ -9,12 +9,12 @@ if ($item['type'] == 2) {
$staticBlock = $bl->isStatic(); $staticBlock = $bl->isStatic();
} }
else if ($item['type'] == 0) { else if ($item['type'] == 0) {
$audiofile = Application_Model_StoredFile::Recall($item['item_id']); $audiofile = Application_Model_StoredFile::RecallById($item['item_id']);
$fileUrl = $audiofile->getFileUrl(); $fileUrl = $audiofile->getFileUrl();
} }
if (($i < count($items) -1) && ($items[$i+1]['type'] == 0)) { if (($i < count($items) -1) && ($items[$i+1]['type'] == 0)) {
$nextAudiofile = Application_Model_StoredFile::Recall($items[$i+1]['item_id']); $nextAudiofile = Application_Model_StoredFile::RecallById($items[$i+1]['item_id']);
$nextFileUrl = $nextAudiofile->getFileUrl(); $nextFileUrl = $nextAudiofile->getFileUrl();
} }
?> ?>