From 6f79fc7d46e152ffcb0eb804e682c0015986d0ab Mon Sep 17 00:00:00 2001 From: "Thies C. Arntzen" Date: Thu, 16 Nov 2000 12:37:35 +0000 Subject: fix ora_fetch_into to allow_call_time_pass_reference = Off; (#7838) --- ext/oracle/oracle.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'ext/oracle/oracle.c') diff --git a/ext/oracle/oracle.c b/ext/oracle/oracle.c index d1618e3138..a36071b3c6 100644 --- a/ext/oracle/oracle.c +++ b/ext/oracle/oracle.c @@ -115,7 +115,7 @@ function_entry oracle_functions[] = { PHP_FE(ora_errorcode, NULL) PHP_FE(ora_exec, NULL) PHP_FE(ora_fetch, NULL) - PHP_FE(ora_fetch_into, NULL) + PHP_FE(ora_fetch_into, second_arg_force_ref) PHP_FE(ora_columntype, NULL) PHP_FE(ora_columnname, NULL) PHP_FE(ora_columnsize, NULL) @@ -1077,11 +1077,6 @@ PHP_FUNCTION(ora_fetch_into) break; } - if (! ParameterPassedByReference(ht, 2)){ - php_error(E_WARNING, "Array not passed by reference in call to ora_fetch_into()"); - RETURN_FALSE; - } - /* Find the cursor */ if ((cursor = ora_get_cursor(&EG(regular_list), curs)) == NULL) { RETURN_FALSE; -- cgit v1.2.1