From 65094ccad5437e365900ad67a11f3686caef477d Mon Sep 17 00:00:00 2001 From: Tobias Reich Date: Sat, 14 Jun 2014 23:05:45 +0200 Subject: [PATCH] Fixed album download with double dot in filename --- php/modules/Album.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php/modules/Album.php b/php/modules/Album.php index 4cf11c8..82b82c3 100644 --- a/php/modules/Album.php +++ b/php/modules/Album.php @@ -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)) {