From: Pierre Joye Date: Sun, 3 Jun 2007 21:35:39 +0000 (+0000) Subject: - MFB: fix logic X-Git-Tag: BEFORE_IMPORT_OF_MYSQLND~549 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6c9b114456e122670cb0ee76b28df9bba727d07b;p=php - MFB: fix logic --- diff --git a/ext/zip/php_zip.c b/ext/zip/php_zip.c index ed9a22ad52..1f384e2de8 100644 --- a/ext/zip/php_zip.c +++ b/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) {