From: Antony Dovgal Date: Wed, 30 May 2007 10:17:43 +0000 (+0000) Subject: set module in internal_function struct X-Git-Tag: php-5.2.3~9 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=770790af04a3ddc2beda1c1444fcbb890c972e01;p=php set module in internal_function struct --- diff --git a/Zend/zend_API.c b/Zend/zend_API.c index 405ec0769c..e5c88410e2 100644 --- a/Zend/zend_API.c +++ b/Zend/zend_API.c @@ -1629,6 +1629,7 @@ ZEND_API int zend_register_functions(zend_class_entry *scope, zend_function_entr target_function_table = CG(function_table); } internal_function->type = ZEND_INTERNAL_FUNCTION; + internal_function->module = EG(current_module); if (scope) { class_name_len = strlen(scope->name);