Browse Source

- MFB: fix logic

PHAR_1_2
Pierre Joye 19 years ago
parent
commit
6c9b114456
  1. 3
      ext/zip/php_zip.c

3
ext/zip/php_zip.c

@ -1036,8 +1036,9 @@ static ZIPARCHIVE_METHOD(addEmptyDir)
if (zip_add_dir(intern, (const char *)s) == -1) {
RETVAL_FALSE;
} else {
RETVAL_TRUE;
}
RETVAL_TRUE;
}
if (s != dirname) {

Loading…
Cancel
Save