Fixed album download with double dot in filename
This commit is contained in:
parent
1dce04fa92
commit
65094ccad5
@ -295,7 +295,7 @@ class Album extends Module {
|
||||
$extension = getExtension($photo->url);
|
||||
|
||||
# Set title for photo
|
||||
$zipFileName = $zipTitle . '/' . $photo->title . '.' . $extension;
|
||||
$zipFileName = $zipTitle . '/' . $photo->title . $extension;
|
||||
|
||||
# Check for duplicates
|
||||
if (!empty($files)) {
|
||||
|
Loading…
Reference in New Issue
Block a user