From: Sascha Schumann Date: Wed, 6 Oct 1999 13:15:23 +0000 (+0000) Subject: Fixed pg_fetch_array() with three arguments. X-Git-Tag: php-4.0b3_RC2~294 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bd62c63c3bf75bd3b2cecacdbbe8b4337d012c9b;p=php Fixed pg_fetch_array() with three arguments. Submitted by: brian@soda.berkeley.edu --- diff --git a/ChangeLog b/ChangeLog index 729235901d..3819269218 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,9 @@ PHP 4.0 CHANGE LOG ChangeLog ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| ?? ?? 1999, Version 4.0 Beta 3 + +- Fixed pg_fetch_array() with three arguments (Sascha) + Patch submitted by: brian@soda.berkeley.edu - Upgraded a lot internal functions to use new Zend function API (Thies) - fdf support ported; not completely tested with latest version 4.0 for glibc (Uwe) 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);