Skip to content

Commit

Permalink
Merge eba327d into db3cbe3
Browse files Browse the repository at this point in the history
  • Loading branch information
szepeviktor committed Oct 16, 2019
2 parents db3cbe3 + eba327d commit fa72b61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Task/Archive/Pack.php
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ protected function archiveZip($archiveFile, $items)
return Result::errorMissingExtension($this, 'zlib', 'zip packing');
}

$zip = new \ZipArchive($archiveFile, \ZipArchive::CREATE);
$zip = new \ZipArchive();
if (!$zip->open($archiveFile, \ZipArchive::CREATE)) {
return Result::error($this, "Could not create zip archive {$archiveFile}");
}
Expand Down

0 comments on commit fa72b61

Please sign in to comment.