summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
Diffstat (limited to 'includes')
-rw-r--r--includes/database/database.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/database/database.inc b/includes/database/database.inc
index adc55e879..a4f00dc46 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.
* }