diff options
Diffstat (limited to 'modules/cloud.module')
-rw-r--r-- | modules/cloud.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/cloud.module b/modules/cloud.module index fbfdc2501..a796593c1 100644 --- a/modules/cloud.module +++ b/modules/cloud.module @@ -134,7 +134,7 @@ function cloud_display() { } function cloud_list($limit = 10) { - $result = db_query("SELECT * FROM site WHERE timestamp > ". (time() - 604800) ." ORDER BY timestamp DESC LIMIT $limit"); + $result = db_query_range("SELECT * FROM site WHERE timestamp > ". (time() - 604800) ." ORDER BY timestamp DESC", 0, $limit); $hour = -1; $list = -1; |