From f013359314187971872b29b4c5332a758e85fe80 Mon Sep 17 00:00:00 2001 From: Luc Didry Date: Tue, 24 Apr 2018 18:37:51 +0200 Subject: [PATCH] Fix Zip files creation --- lib/Lutim/Controller.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); }