set module in internal_function struct

This commit is contained in:
Antony Dovgal 2007-05-30 10:17:43 +00:00
parent 9282d4add6
commit 770790af04

View File

@ -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);