diff --git a/yaf_controller.c b/yaf_controller.c index 9e4acc44..d0eb3f7a 100644 --- a/yaf_controller.c +++ b/yaf_controller.c @@ -393,19 +393,23 @@ PHP_METHOD(yaf_controller, forward) { } request = zend_read_property(yaf_controller_ce, self, ZEND_STRL(YAF_CONTROLLER_PROPERTY_NAME_REQUEST), 1 TSRMLS_CC); +#if 0 parameters = zend_read_property(yaf_controller_ce, self, ZEND_STRL(YAF_CONTROLLER_PROPERTY_NAME_ARGS), 1 TSRMLS_CC); +#endif if (Z_TYPE_P(request) != IS_OBJECT || !instanceof_function((request_ce = Z_OBJCE_P(request)), yaf_request_ce TSRMLS_CC)) { RETURN_FALSE; } +#if 0 if (ZVAL_IS_NULL(parameters)) { MAKE_STD_ZVAL(parameters); array_init(parameters); zend_update_property(yaf_controller_ce, self, ZEND_STRL(YAF_CONTROLLER_PROPERTY_NAME_ARGS), parameters TSRMLS_CC); zval_ptr_dtor(¶meters); } +#endif switch (ZEND_NUM_ARGS()) { case 1: