File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -591,7 +591,7 @@ void php3_Ora_Do_Logon(INTERNAL_FUNCTION_PARAMETERS, int persistent)
591591 NULL );
592592
593593 efree (hashed_details );
594- return_value -> type = IS_LONG ;
594+ return_value -> type = IS_RESOURCE ;
595595}
596596
597597/* {{{ proto int ora_logoff(int connection)
@@ -653,7 +653,7 @@ void php3_Ora_Open(INTERNAL_FUNCTION_PARAMETERS)
653653 cursor -> open = 1 ;
654654 cursor -> conn_ptr = conn ;
655655 cursor -> conn_id = conn_ind ;
656- RETURN_LONG (ora_add_cursor (list , cursor ));
656+ RETURN_RESOURCE (ora_add_cursor (list , cursor ));
657657}
658658/* }}} */
659659
@@ -1099,7 +1099,7 @@ void php3_Ora_Do(INTERNAL_FUNCTION_PARAMETERS)
10991099 }
11001100 }
11011101
1102- RETURN_LONG (ora_add_cursor (list , cursor ));
1102+ RETURN_RESOURCE (ora_add_cursor (list , cursor ));
11031103}
11041104/* }}} */
11051105
You can’t perform that action at this time.
0 commit comments