[Mapbender-commits] r6976 - branches/mapbender/lib

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Wed Sep 29 14:40:28 EDT 2010


Author: christoph
Date: 2010-09-29 18:40:28 +0000 (Wed, 29 Sep 2010)
New Revision: 6976

Modified:
   branches/mapbender/lib/database-pgsql.php
Log:
pdo

Modified: branches/mapbender/lib/database-pgsql.php
===================================================================
--- branches/mapbender/lib/database-pgsql.php	2010-09-29 18:40:14 UTC (rev 6975)
+++ branches/mapbender/lib/database-pgsql.php	2010-09-29 18:40:28 UTC (rev 6976)
@@ -405,7 +405,7 @@
  *  @param		$fnumber (int)	Column number
  */
 function db_fetch_row($qhandle,$fnumber=0) {
-	return $qhandle->fetch(PDO::FETCH_NUM);
+	return $qhandle->fetch(PDO::FETCH_BOTH);
 //	return pg_fetch_row($qhandle);
 }
 
@@ -506,4 +506,4 @@
 	   return @pg_fieldlen($lhandle,$fnumber);         
 } 
 */
-?>
\ No newline at end of file
+?>



More information about the Mapbender_commits mailing list