]> granicus.if.org Git - php/commitdiff
Fixed pg_fetch_array() with three arguments.
authorSascha Schumann <sas@php.net>
Wed, 6 Oct 1999 13:15:23 +0000 (13:15 +0000)
committerSascha Schumann <sas@php.net>
Wed, 6 Oct 1999 13:15:23 +0000 (13:15 +0000)
    Submitted by: brian@soda.berkeley.edu

ChangeLog
ext/pgsql/pgsql.c

index 729235901de00a24cae4049f255529a102675f0e..38192692189420598363693cf16fa7771158d5e8 100644 (file)
--- 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)
index 089afd8f37af99410bb41dcc1fbd1ccfa3d35223..b0705a8475e83c204ea2b6ce40016a3d42ed346f 100644 (file)
@@ -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);