Fixed photo download

This commit is contained in:
Tobias Reich 2014-08-30 20:03:38 +02:00
parent 0a5285ee93
commit b0a4089dc0

View File

@ -598,7 +598,7 @@ class Photo extends Module {
if ($photo->title=='') $photo->title = 'Untitled'; if ($photo->title=='') $photo->title = 'Untitled';
# Escape title # Escape title
$zipTitle = str_replace($badChars, '', $zipTitle); $photo->title = str_replace($badChars, '', $photo->title);
# Set headers # Set headers
header("Content-Type: application/octet-stream"); header("Content-Type: application/octet-stream");