From ac63fa94b578151068cd11e25f88952c74c12cd3 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 25 Jun 2010 20:28:49 +0000 Subject: [PATCH] - Patch #829152 by nenne: database abstraction layer db_query_range() example is wrong. --- includes/database/database.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/database/database.inc b/includes/database/database.inc index adc55e879dc..a4f00dc467b 100644 --- a/includes/database/database.inc +++ b/includes/database/database.inc @@ -40,7 +40,7 @@ * one would instead call the Drupal functions: * @code * $result = db_query_range('SELECT n.nid, n.title, n.created - * FROM {node} n WHERE n.uid = :uid', array(':uid' => $uid), 0, 10); + * FROM {node} n WHERE n.uid = :uid', 0, 10, array(':uid' => $uid)); * foreach($result as $record) { * // Perform operations on $node->title, etc. here. * }