Fixed photo download
This commit is contained in:
parent
0a5285ee93
commit
b0a4089dc0
@ -598,7 +598,7 @@ class Photo extends Module {
|
||||
if ($photo->title=='') $photo->title = 'Untitled';
|
||||
|
||||
# Escape title
|
||||
$zipTitle = str_replace($badChars, '', $zipTitle);
|
||||
$photo->title = str_replace($badChars, '', $photo->title);
|
||||
|
||||
# Set headers
|
||||
header("Content-Type: application/octet-stream");
|
||||
|
Loading…
Reference in New Issue
Block a user