Skip to content

Commit 495ca7a

Browse files
committed
Fixing download missing names.
1 parent cf0e505 commit 495ca7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Manager/ResourceManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1040,7 +1040,7 @@ public function download(array $elements, $forceArchive = false)
10401040
$node = $resource->getTarget();
10411041
}
10421042

1043-
$filename = $this->getRelativePath($currentDir, $node);
1043+
$filename = $this->getRelativePath($currentDir, $node) . $node->getName();
10441044
$resource = $this->getResourceFromNode($node);
10451045

10461046
//if it's a file, we may have to add the extension back in case someone removed it from the name

0 commit comments

Comments
 (0)