diff options
author | Dries Buytaert <dries@buytaert.net> | 2001-11-18 22:47:23 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2001-11-18 22:47:23 +0000 |
commit | ccbbddbc9577bde85bfa4d265cda4716a52ce8d0 (patch) | |
tree | 673bed5ceef1048d8e9c1966734786b0b08a323c /modules/blog.module | |
parent | ac775ebc27de1c1c73b1ea03aa69811091766791 (diff) | |
download | brdo-ccbbddbc9577bde85bfa4d265cda4716a52ce8d0.tar.gz brdo-ccbbddbc9577bde85bfa4d265cda4716a52ce8d0.tar.bz2 |
- Removed the limit on the blog searches (patch by Natrak). For now it
fixes some annoying issueus but this will need more work in future as
it doesn't really scale too well.
Diffstat (limited to 'modules/blog.module')
-rw-r--r-- | modules/blog.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/blog.module b/modules/blog.module index 3d94152bc..408a35d87 100644 --- a/modules/blog.module +++ b/modules/blog.module @@ -144,7 +144,7 @@ function blog_page_user($uid = 0, $date = 0) { $date = time(); } - $result = db_query("SELECT nid FROM node WHERE type = 'blog' AND uid = '$account->uid' AND created <= '$date' AND created >= '". ($date - 2592000) ."' ORDER BY nid DESC"); + $result = db_query("SELECT nid FROM node WHERE type = 'blog' AND uid = '$account->uid' AND created <= '$date' ORDER BY nid DESC"); $output .= "<table border=\"0\" cellpadding=\"4\" cellspacing=\"4\">"; |