CC-2423 Undefined property in StoredFile::$md
uses the new file metadata access now.
This commit is contained in:
parent
cf54434f5e
commit
fbf5f85509
2 changed files with 17 additions and 28 deletions
|
@ -185,7 +185,7 @@ class LibraryController extends Zend_Controller_Action
|
|||
if($type == "au") {
|
||||
$file = StoredFile::Recall($id);
|
||||
$this->view->type = $type;
|
||||
$this->view->md = $file->md;
|
||||
$this->view->md = $file->getMetadata();
|
||||
}
|
||||
else if($type == "pl") {
|
||||
$file = Playlist::Recall($id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue