cvs: ZendEngine2 / zend_reflection_api.c
| From: | Marcus Boerger | Date: | Sat, 06 Sep 2003 13:02:16 +0000 |
| Subject: | cvs: ZendEngine2 / zend_reflection_api.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-1816@lists.php.net to get a copy of this message | ||
helly Sat Sep 6 09:02:16 2003 EDT
Modified files:
/ZendEngine2 zend_reflection_api.c
Log:
Fix logic
Index: ZendEngine2/zend_reflection_api.c
diff -u ZendEngine2/zend_reflection_api.c:1.61 ZendEngine2/zend_reflection_api.c:1.62
--- ZendEngine2/zend_reflection_api.c:1.61 Sat Sep 6 08:52:40 2003
+++ ZendEngine2/zend_reflection_api.c Sat Sep 6 09:02:16 2003
@@ -19,7 +19,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_reflection_api.c,v 1.61 2003/09/06 12:52:40 helly Exp $ */
+/* $Id: zend_reflection_api.c,v 1.62 2003/09/06 13:02:16 helly Exp $ */
#include "zend.h"
#include "zend_API.h"
#include "zend_default_classes.h"
@@ -1752,11 +1752,11 @@
zend_class_entry **ce;
if (is_object) {
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z", &argument) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "o", &argument) == FAILURE) {
return;
}
} else {
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "o", &argument) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z", &argument) == FAILURE) {
return;
}
}