Fix Zip files creation

This commit is contained in:
Luc Didry
2018-04-24 18:37:51 +02:00
parent 1fda560056
commit f013359314
+1 -1
View File
@@ -724,7 +724,7 @@ sub zip {
}
if ($key) {
$zip->addString($c->decrypt($key, $path)->slurp, "images/$filename");
$zip->addString($c->decrypt($key, $path), "images/$filename");
} else {
$zip->addFile($path, "images/$filename");
}