CC-2423 Undefined property in StoredFile::$md

uses the new file metadata access now.
This commit is contained in:
Naomi Aro 2011-06-24 10:40:31 +02:00
parent cf54434f5e
commit fbf5f85509
2 changed files with 17 additions and 28 deletions

View file

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