diff options
author | Dries Buytaert <dries@buytaert.net> | 2001-07-12 12:50:11 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2001-07-12 12:50:11 +0000 |
commit | 170cf2f4a446d99da3336da20ee42848a7da4c3d (patch) | |
tree | 39b673370b1f0ce45faed4420cb9012ba44cc128 /modules/blog | |
parent | 17516b25bb5e4aab5ff8b86a73ae8ef9b692599a (diff) | |
download | brdo-170cf2f4a446d99da3336da20ee42848a7da4c3d.tar.gz brdo-170cf2f4a446d99da3336da20ee42848a7da4c3d.tar.bz2 |
- Fixed "Blog this item" as reported by Natrak.
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 e7b5c6514..1b50aa6d2 100644 --- a/modules/blog/blog.module +++ b/modules/blog/blog.module @@ -32,7 +32,7 @@ function blog_page_all($num = 20) { $result = db_query("SELECT n.timestamp, n.title, u.userid, n.nid, b.body FROM blog b LEFT JOIN node n ON b.nid = n.nid LEFT JOIN users u ON n.author = u.id ORDER BY b.lid DESC LIMIT $num"); while ($blog = db_fetch_object($result)) { - $output .= blog_format_link($blog->nid) ." "; + $output .= blog_format_link($blog) ." "; $output .= "<a href=\"module.php?mod=blog&name=". urlencode($blog->userid) ."\"><img src=\"misc/earth.gif\" border= \"0\" width=\"11\" height=\"11\" alt=\"". t("This blog") ."\" /></a> "; $output .= format_username($blog->userid) ." ". t("on") ." ". format_date($blog->timestamp) .":<br />"; $output .= "<blockquote><b>". check_input($blog->title) ."</b><br />" . check_output($blog->body, 1) ."</blockquote>\n"; |