Skip to content

Commit 263923c

Browse files
committed
typo
1 parent 9b43f41 commit 263923c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/pgsql/pgsql.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1707,7 +1707,7 @@ PHP_FUNCTION(pg_fetch_result)
17071707

17081708
ZEND_PARSE_PARAMETERS_START(2, 3)
17091709
Z_PARAM_OBJECT_OF_CLASS(result, pgsql_result_ce)
1710-
if (ZEND_NUM_ARGS() == 2) {
1710+
if (ZEND_NUM_ARGS() == 3) {
17111711
if (zend_string_equals_literal(EG(current_execute_data)->func->common.function_name, "pg_result")) {
17121712
Z_PARAM_LONG(row)
17131713
} else {

0 commit comments

Comments
 (0)