Skip to content

Commit 50ac79f

Browse files
committed
Fix return value
1 parent 4d459ff commit 50ac79f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ibase_query.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2267,11 +2267,11 @@ static void _php_ibase_free_query_impl(INTERNAL_FUNCTION_PARAMETERS, int as_resu
22672267
RESET_ERRMSG;
22682268

22692269
if (zend_parse_parameters(ZEND_NUM_ARGS(), "r", &query_arg) == FAILURE) {
2270-
return;
2270+
RETURN_FALSE;
22712271
}
22722272

22732273
if(_php_ibase_fetch_query_res(query_arg, &ib_query)) {
2274-
return;
2274+
RETURN_FALSE;
22752275
}
22762276

22772277
if(!as_result || ib_query->was_result_once) {

0 commit comments

Comments
 (0)