Skip to content

Commit

Permalink
fix ora_fetch_into to allow_call_time_pass_reference = Off; (php#7838)
Browse files Browse the repository at this point in the history
  • Loading branch information
Thies C. Arntzen committed Nov 16, 2000
1 parent 6a81095 commit 6f79fc7
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions ext/oracle/oracle.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 6f79fc7

Please sign in to comment.