Index: trunk/CHANGELOG
===================================================================
--- trunk/CHANGELOG	(revision 1010)
+++ trunk/CHANGELOG	(revision 1011)
@@ -12,6 +12,8 @@
 
 ------------------------------------- 2.8.0 -------------------------------------
 25-June-2009 Matthias Gallas
++	Added option to use also MYSQL_ASSOC and MYSQL_NUM with mysql_fetch_array
+	(Thanks to Luisehahne)
 #	Bugfix for Error-Level settings (Thanks to Luisehahne)
 23-June-2009 Matthias Gallas
 #	Moved styles from admin/pages/sections.php to sections.htt in backend themes
Index: trunk/wb/framework/class.database.php
===================================================================
--- trunk/wb/framework/class.database.php	(revision 1010)
+++ trunk/wb/framework/class.database.php	(revision 1011)
@@ -143,12 +143,12 @@
 	function numRows() {
 		return mysql_num_rows($this->result);
 	}
-	
-	// Fetch row
-	function fetchRow() {
-		return mysql_fetch_array($this->result);
+
+	// Fetch row  $typ = MYSQL_ASSOC, MYSQL_NUM, MYSQL_BOTH
+	function fetchRow($typ = MYSQL_BOTH) {
+		return mysql_fetch_array($this->result, $typ);
 	}
-	
+
 	// Get error
 	function error() {
 		if(isset($this->error)) {
