1
0
mirror of https://github.com/php/php-src.git synced 2026-04-28 18:53:33 +02:00

Fix Wez's problem

This commit is contained in:
Zeev Suraski
2003-01-01 09:34:39 +00:00
parent c4e8b2baab
commit 57b9b0112d
+1 -1
View 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);