]> granicus.if.org Git - php/commitdiff
set module in internal_function struct
authorAntony Dovgal <tony2001@php.net>
Wed, 30 May 2007 10:17:43 +0000 (10:17 +0000)
committerAntony Dovgal <tony2001@php.net>
Wed, 30 May 2007 10:17:43 +0000 (10:17 +0000)
Zend/zend_API.c

index 405ec0769c7e086acdbbb3e75018fa170315050a..e5c88410e2256e32ca99ad638600c295c62a0dd3 100644 (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);