From e9426bf18aadee5f44e091ff6d07858185969348 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Thu, 8 Oct 2020 15:37:11 +0200 Subject: [PATCH] fix dir check --- Module/PackageManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Module/PackageManager.php b/Module/PackageManager.php index f39dff917..bdb6a5bcc 100644 --- a/Module/PackageManager.php +++ b/Module/PackageManager.php @@ -156,7 +156,7 @@ final class PackageManager $state = \sodium_crypto_generichash_init(); foreach ($files as $file) { - if ($file === 'package.cert' || \is_file($this->extractPath . '/' . $file)) { + if ($file === 'package.cert' || \is_dir($this->extractPath . '/' . $file)) { continue; }