diff --git a/tests/issue163.phpt b/tests/issue163.phpt index df6aa51f..54110993 100644 --- a/tests/issue163.phpt +++ b/tests/issue163.phpt @@ -23,7 +23,7 @@ file_put_contents(APPLICATION_PATH . "/controllers/Index.php", <<forward("index", "Second", "okey"); + \$this->forward("Index", "Second", "okey"); } public function indexAction() { echo "bad"; diff --git a/yaf_controller.c b/yaf_controller.c index 029f116f..430c21c7 100644 --- a/yaf_controller.c +++ b/yaf_controller.c @@ -390,7 +390,7 @@ PHP_METHOD(yaf_controller, forward) { return; } - request = zend_read_property(yaf_controller_ce, self, ZEND_STRL(YAF_CONTROLLER_PROPERTY_NAME_REQUEST), 1 TSRMLS_CC); + 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