From 6c9b114456e122670cb0ee76b28df9bba727d07b Mon Sep 17 00:00:00 2001 From: Pierre Joye Date: Sun, 3 Jun 2007 21:35:39 +0000 Subject: [PATCH] - MFB: fix logic --- ext/zip/php_zip.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) { -- 2.50.1