From 770790af04a3ddc2beda1c1444fcbb890c972e01 Mon Sep 17 00:00:00 2001 From: Antony Dovgal Date: Wed, 30 May 2007 10:17:43 +0000 Subject: [PATCH] set module in internal_function struct --- Zend/zend_API.c | 1 + 1 file changed, 1 insertion(+) 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); -- 2.50.1