cvs: ZendEngine2(PHP_5_2) / zend_API.c
| From: | Marcus Boerger | Date: | Tue, 23 May 2006 21:50:29 +0000 |
| Subject: | cvs: ZendEngine2(PHP_5_2) / zend_API.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-4919@lists.php.net to get a copy of this message | ||
helly Tue May 23 21:50:29 2006 UTC
Modified files: (Branch: PHP_5_2)
/ZendEngine2 zend_API.c
Log:
- Fix double error raising issue
http://cvs.php.net/viewcvs.cgi/ZendEngine2/zend_API.c?r1=1.296.2.27.2.7&r2=1.296.2.27.2.8&diff_format=u
Index: ZendEngine2/zend_API.c
diff -u ZendEngine2/zend_API.c:1.296.2.27.2.7 ZendEngine2/zend_API.c:1.296.2.27.2.8
--- ZendEngine2/zend_API.c:1.296.2.27.2.7 Sat May 13 10:37:45 2006
+++ ZendEngine2/zend_API.c Tue May 23 21:50:29 2006
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_API.c,v 1.296.2.27.2.7 2006/05/13 10:37:45 helly Exp $ */
+/* $Id: zend_API.c,v 1.296.2.27.2.8 2006/05/23 21:50:29 helly Exp $ */
#include "zend.h"
#include "zend_execute.h"
@@ -579,7 +579,7 @@
expected_type = zend_parse_arg_impl(arg_num, arg, va, spec TSRMLS_CC);
if (expected_type) {
- if (!quiet) {
+ if (!quiet && *expected_type) {
char *space;
char *class_name = get_active_class_name(&space TSRMLS_CC);