diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-06-13 17:34:18 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-06-13 17:34:18 +0000 |
commit | d95499bf03c65f59190687882567c80a074c711a (patch) | |
tree | e2b55f427e0f11148a182dcf191ee3719ea1c425 /modules/blog | |
parent | c0330f166f29815f9d35ce817032802e7a073b03 (diff) | |
download | brdo-d95499bf03c65f59190687882567c80a074c711a.tar.gz brdo-d95499bf03c65f59190687882567c80a074c711a.tar.bz2 |
- Bugfix: small Xtemplate fixes. Patch by Ax. (Slightly modified.)
- Bugfix: block patch fix. Patch by Gerhard.
- Bugfix: fixed broken URL in ping. Patch by Gerhard.
(This should fix the problems shown on http://www.blo.gs/info.php?id=1515.)
- Improvement: added better password generator. Patch #1 by Al. Fixes bug
#1935.
- Improvement: performance improvement to the blog module. Patch by Marco.
Diffstat (limited to 'modules/blog')
-rw-r--r-- | modules/blog/blog.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/blog/blog.module b/modules/blog/blog.module index fe663d3b0..4b503f024 100644 --- a/modules/blog/blog.module +++ b/modules/blog/blog.module @@ -249,7 +249,7 @@ function blog_block($op = "list", $delta = 0) { } else { if (user_access("access content")) { - $block["content"] = node_title_list(db_query_range("SELECT u.uid, u.name, n.created, n.title, n.nid FROM node n LEFT JOIN users u ON n.uid = u.uid WHERE n.type = 'blog' AND n.status = 1 ORDER BY n.nid DESC", 0, 10)); + $block["content"] = node_title_list(db_query_range("SELECT n.title, n.nid FROM node n WHERE n.type = 'blog' AND n.status = 1 ORDER BY n.nid DESC", 0, 10)); $block["content"] .= "<div align=\"right\" id=\"blog_more\">". l(t("more"), "blog", array("title" => t("Read the latest blog entries."))) ."</div>"; $block["subject"] = t("Blogs"); } |