diff --git a/library/Class/AlbumRessource.php b/library/Class/AlbumRessource.php index 67bfaf0b88c518bc6383d6b949c17047895ec41a..885a2afcd4865ff725848ca99f9d5d990f24e192 100644 --- a/library/Class/AlbumRessource.php +++ b/library/Class/AlbumRessource.php @@ -1103,7 +1103,7 @@ class Class_AlbumRessource extends Storm_Model_Abstract { $extension = $this->getFileExtension(); if (!$extension && $this->hasUrl()) - return $this->view->absoluteUrl($this->getOriginalUrl()); + return Class_Url::absolute($this->getOriginalUrl()); return Class_Url::absolute('/bib-numerique/play-ressource/id/' . $this->getId(), null, true) . '.' . $extension; }