cvs: php4 /pear/DB pgsql.php

From: Date: Fri, 08 Dec 2000 02:50:29 +0000
Subject: cvs: php4 /pear/DB pgsql.php
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-3022@lists.php.net to get a copy of this message
ssb Thu Dec 7 18:50:29 2000 EDT Modified files: /php4/pear/DB pgsql.php Log: * fetchRow with DB_FETCHMODE_ASSOC returned an array with both string and numerical indexes - fixed (supposed to be string only) Index: php4/pear/DB/pgsql.php diff -u php4/pear/DB/pgsql.php:1.17 php4/pear/DB/pgsql.php:1.18 --- php4/pear/DB/pgsql.php:1.17 Thu Dec 7 18:30:43 2000 +++ php4/pear/DB/pgsql.php Thu Dec 7 18:50:29 2000 @@ -216,7 +216,7 @@ return NULL; } if ($fetchmode & DB_FETCHMODE_ASSOC) { - $row = pg_fetch_array($result, $this->row[$result]); + $row = pg_fetch_array($result, $this->row[$result], PGSQL_ASSOC); } else { $row = pg_fetch_row($result, $this->row[$result]); }

« previous php.cvs (#3022) next »