diff options
Diffstat (limited to 'ext/zip/php_zip.c')
-rw-r--r-- | ext/zip/php_zip.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/zip/php_zip.c b/ext/zip/php_zip.c index fca0a9d617..7c646e37a0 100644 --- a/ext/zip/php_zip.c +++ b/ext/zip/php_zip.c @@ -23,7 +23,6 @@ #include "php.h" #include "php_ini.h" -#include "zend_exceptions.h" #include "ext/standard/info.h" #include "ext/standard/file.h" #include "ext/standard/php_string.h" @@ -590,7 +589,7 @@ int php_zip_glob(char *pattern, int pattern_len, zend_long flags, zval *return_v globfree(&globbuf); return globbuf.gl_pathc; #else - zend_throw_error(zend_ce_error, "Glob support is not available"); + zend_throw_error(NULL, "Glob support is not available"); return 0; #endif /* HAVE_GLOB */ } |