do not pass null to open
This commit is contained in:
parent
3a6d96eb3f
commit
4d2d12e67b
@ -125,7 +125,7 @@ class ZipArchive
|
|||||||
* @param int $flags The mode to use to open the archive
|
* @param int $flags The mode to use to open the archive
|
||||||
* @return bool
|
* @return bool
|
||||||
*/
|
*/
|
||||||
public function open($filename, $flags = null)
|
public function open($filename, $flags = 0)
|
||||||
{
|
{
|
||||||
$result = true;
|
$result = true;
|
||||||
$this->filename = $filename;
|
$this->filename = $filename;
|
||||||
|
Loading…
Reference in New Issue
Block a user