fix zip unpack

This commit is contained in:
Dennis Eichhorn 2021-09-27 23:31:15 +02:00
parent 3828832230
commit 82fd468519

View File

@ -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;
}