Fixed album download with double dot in filename

This commit is contained in:
Tobias Reich 2014-06-14 23:05:45 +02:00
parent 1dce04fa92
commit 65094ccad5

View File

@ -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)) {