summaryrefslogtreecommitdiff
path: root/ext/pgsql/pgsql.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/pgsql/pgsql.c')
-rw-r--r--ext/pgsql/pgsql.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pgsql/pgsql.c b/ext/pgsql/pgsql.c
index 089afd8f37..b0705a8475 100644
--- a/ext/pgsql/pgsql.c
+++ b/ext/pgsql/pgsql.c
@@ -887,7 +887,7 @@ static void php3_pgsql_fetch_hash(INTERNAL_FUNCTION_PARAMETERS, int result_type)
}
break;
case 3:
- if (getParameters(ht, 2, &result, &row, &arg3)==FAILURE) {
+ if (getParameters(ht, 3, &result, &row, &arg3)==FAILURE) {
RETURN_FALSE;
}
convert_to_long(arg3);