diff --git a/lib/Lutim/Controller.pm b/lib/Lutim/Controller.pm index cf13b6c..81a68e4 100644 --- a/lib/Lutim/Controller.pm +++ b/lib/Lutim/Controller.pm @@ -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"); }