Verified Commit 33cc8eba authored by Cyril Vazquez's avatar Cyril Vazquez
Browse files

Fix conversion from handler type plainfile

parent 158d36a6
Pipeline #6975 canceled with stages
......@@ -674,7 +674,7 @@ class digitalResource
$handler = $digitalResource->getHandler();
$metadata = stream_get_meta_data($handler);
if ($metadata['wrapper_type'] == 'plainfile') {
$srcfile = $handler;
$srcfile = $metadata['uri'];
} else {
$tempdir = str_replace("/", DIRECTORY_SEPARATOR, \laabs\tempdir());
......
Supports Markdown
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