summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2007-05-30 10:17:43 +0000
committerAntony Dovgal <tony2001@php.net>2007-05-30 10:17:43 +0000
commit770790af04a3ddc2beda1c1444fcbb890c972e01 (patch)
treeefe2d8819049475237189d73fd5ebd479d282ce7
parent9282d4add60b9aae26182f8aff1e48d4dd3dfc99 (diff)
downloadphp-git-770790af04a3ddc2beda1c1444fcbb890c972e01.tar.gz
set module in internal_function struct
-rw-r--r--Zend/zend_API.c1
1 files changed, 1 insertions, 0 deletions
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);