diff options
author | Thies C. Arntzen <thies@php.net> | 2000-11-16 12:37:35 +0000 |
---|---|---|
committer | Thies C. Arntzen <thies@php.net> | 2000-11-16 12:37:35 +0000 |
commit | 6f79fc7d46e152ffcb0eb804e682c0015986d0ab (patch) | |
tree | 7a7da31349503300d6cc3b30272a7eddb099bf25 /ext/oracle | |
parent | 6a8109531360051e87d707e8dfae35211413bb25 (diff) | |
download | php-git-6f79fc7d46e152ffcb0eb804e682c0015986d0ab.tar.gz |
fix ora_fetch_into to allow_call_time_pass_reference = Off; (#7838)
Diffstat (limited to 'ext/oracle')
-rw-r--r-- | ext/oracle/oracle.c | 7 |
1 files changed, 1 insertions, 6 deletions
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; |