From: Steph Fox Date: Thu, 28 Feb 2008 01:16:43 +0000 (+0000) Subject: Forgot to return... not that I understand this stuff... X-Git-Tag: RELEASE_2_0_0a1~303 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=413df689711bacabe53efdb8026c4daf573875f4;p=php Forgot to return... not that I understand this stuff... --- diff --git a/ext/phar/phar_object.c b/ext/phar/phar_object.c index 8c23751bbc..a306984d31 100755 --- a/ext/phar/phar_object.c +++ b/ext/phar/phar_object.c @@ -1824,8 +1824,9 @@ PHP_METHOD(Phar, convertToZip) // need to check that the string isn't Phar::GZ etc if (ext_len) { if (strncmp(ext, "Phar::GZ", 8) || strncmp(ext, "Phar::BZ2", 9)) { - zend_throw_exception_ex(spl_ce_UnexpectedValueException, 0 TSRMLS_CC, - "Cannot compress a zip-based archive with gz or bz2"); + zend_throw_exception_ex(spl_ce_UnexpectedValueException, 0 TSRMLS_CC, + "Cannot compress a zip-based archive with gz or bz2"); + return; } }