Skip to content
Snippets Groups Projects
Commit bd548ed3 authored by pbarroca's avatar pbarroca
Browse files

OPDS: correction destination du download lors de l'import

parent 12e0da1a
Branches
Tags
No related merge requests found
......@@ -115,7 +115,7 @@ class OPDSEntryFile {
$ressource->save();
$fileName = $ressource->getId() . '_' . $album->getTitre() . $this->getExtension();
$destination = $album->getOriginalsPath() . $fileName;
$destination = $ressource->getOriginalsPath() . $fileName;
if (false === $this->getDownloader()->downloadFromUrlToDisk($this->_url, $destination))
$ressource->delete();
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment