1
0
mirror of https://github.com/php/php-src.git synced 2026-04-28 10:43:30 +02:00

- MFH Fix bug in example code found by Surf Chen

This commit is contained in:
Marcus Boerger
2008-01-10 10:11:33 +00:00
parent ed8e2fa031
commit 522166bad1
+1
View File
@@ -857,6 +857,7 @@ int spl_dual_it_call_method(char *method, INTERNAL_FUNCTION_PARAMETERS)
func_params[current] = (zval **) p - (arg_count-current);
current++;
}
arg_count = current; /* restore */
if (call_user_function_ex(EG(function_table), NULL, &func, &retval_ptr, arg_count, func_params, 0, NULL TSRMLS_CC) == SUCCESS && retval_ptr) {
RETURN_ZVAL(retval_ptr, 0, 1);