From 959cae82224e799e7bf9f5b8efd2fa9877058dca Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 11 Oct 2001 12:25:25 +0000 Subject: - added sequence tables - fixed bug in node_page() - fixed bug in db_result() - fixed rss glitch --- includes/database.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/database.inc') diff --git a/includes/database.inc b/includes/database.inc index be3bdbf17..a3da55254 100644 --- a/includes/database.inc +++ b/includes/database.inc @@ -45,7 +45,7 @@ function db_num_rows($result) { function db_result($result, $field = 0) { if ($result) { - $tmp = $result->fetchRow(DB_FETCHMODE_ASSOC); + $tmp = $result->fetchRow(DB_FETCHMODE_ORDERED); return $tmp[$field]; } } -- cgit v1.2.3