]> granicus.if.org Git - php/commitdiff
Fix Wez's problem
authorZeev Suraski <zeev@php.net>
Wed, 1 Jan 2003 09:34:39 +0000 (09:34 +0000)
committerZeev Suraski <zeev@php.net>
Wed, 1 Jan 2003 09:34:39 +0000 (09:34 +0000)
Zend/zend_API.c

index 2a22d7869e5fdce674e841cd351a0f0a658a16cb..4765b02f1532dc8b4094861f39d6875021ef6560 100644 (file)
@@ -1055,7 +1055,7 @@ int zend_register_functions(zend_class_entry *scope, zend_function_entry *functi
                internal_function->arg_types = ptr->func_arg_types;
                internal_function->function_name = ptr->fname;
                internal_function->scope = scope;
-               internal_function->fn_flags = 0;
+               internal_function->fn_flags = ZEND_ACC_PUBLIC;
                if (!internal_function->handler) {
                        zend_error(error_type, "Null function defined as active function");
                        zend_unregister_functions(functions, count, target_function_table TSRMLS_CC);