Skip to content

Commit a1ee3c7

Browse files
committed
Fix recently introduced off-by-one error
1 parent a4331a6 commit a1ee3c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/odbc/php_odbc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1087,7 +1087,7 @@ PHP_FUNCTION(odbc_execute)
10871087
efree(params);
10881088
RETURN_FALSE;
10891089
}
1090-
if (i++ > result->numparams) break;
1090+
if (++i > result->numparams) break;
10911091
} ZEND_HASH_FOREACH_END();
10921092
}
10931093
/* Close cursor, needed for doing multiple selects */

0 commit comments

Comments
 (0)