From 82fd46851914b724b2e6611d95acfeffca760684 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Mon, 27 Sep 2021 23:31:15 +0200 Subject: [PATCH] fix zip unpack --- Utils/IO/Zip/Zip.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Utils/IO/Zip/Zip.php b/Utils/IO/Zip/Zip.php index 6e9c04e55..6e411b287 100644 --- a/Utils/IO/Zip/Zip.php +++ b/Utils/IO/Zip/Zip.php @@ -101,7 +101,7 @@ class Zip implements ArchiveInterface */ public static function unpack(string $source, string $destination) : bool { - if (!\is_file($source) || \is_dir($destination)) { + if (!\is_file($source) || !\is_dir($destination)) { return false; }