We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b43f41 commit 263923cCopy full SHA for 263923c
ext/pgsql/pgsql.c
@@ -1707,7 +1707,7 @@ PHP_FUNCTION(pg_fetch_result)
1707
1708
ZEND_PARSE_PARAMETERS_START(2, 3)
1709
Z_PARAM_OBJECT_OF_CLASS(result, pgsql_result_ce)
1710
- if (ZEND_NUM_ARGS() == 2) {
+ if (ZEND_NUM_ARGS() == 3) {
1711
if (zend_string_equals_literal(EG(current_execute_data)->func->common.function_name, "pg_result")) {
1712
Z_PARAM_LONG(row)
1713
} else {
0 commit comments