includes/dbal.php
changeset 770 62fed244fa1c
parent 685 17ebe24cdf85
child 798 ddfc1b554a08
--- a/includes/dbal.php	Sun Dec 21 04:24:52 2008 -0500
+++ b/includes/dbal.php	Sun Dec 21 04:26:56 2008 -0500
@@ -421,7 +421,7 @@
     if(!$r) $this->_die('$db->fetchrow(): an invalid MySQL resource was passed.');
     $row = mysql_fetch_assoc($r);
     $this->disable_errorhandler();
-    return $row;
+    return integerize_array($row);
   }
   
   function fetchrow_num($r = false) {
@@ -430,7 +430,7 @@
     if(!$r) $this->_die('$db->fetchrow(): an invalid MySQL resource was passed.');
     $row = mysql_fetch_row($r);
     $this->disable_errorhandler();
-    return $row;
+    return integerize_array($row);
   }
   
   function numrows($r = false) {
@@ -1165,7 +1165,7 @@
     if(!$r) $this->_die('$db->fetchrow(): an invalid MySQL resource was passed.');
     $row = pg_fetch_assoc($r);
     $this->disable_errorhandler();
-    return $row;
+    return integerize_array($row);
   }
   
   function fetchrow_num($r = false) {
@@ -1174,7 +1174,7 @@
     if(!$r) $this->_die('$db->fetchrow(): an invalid MySQL resource was passed.');
     $row = pg_fetch_row($r);
     $this->disable_errorhandler();
-    return $row;
+    return integerize_array($row);
   }
   
   function numrows($r = false) {