diff options
author | Dries Buytaert <dries@buytaert.net> | 2001-09-28 13:12:05 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2001-09-28 13:12:05 +0000 |
commit | f1ebe411be7f2c4aab1f33dc5108f9a9acdeb009 (patch) | |
tree | 37426f101aca89894a414799d4ef475782ede0a6 /includes | |
parent | bab0a9a2bd1a73e25c009ea1098fee8246ded01f (diff) | |
download | brdo-f1ebe411be7f2c4aab1f33dc5108f9a9acdeb009.tar.gz brdo-f1ebe411be7f2c4aab1f33dc5108f9a9acdeb009.tar.bz2 |
- comment.inc:
+ when replying to a comment, the author's name was displayd as being 'anonymous'.
- blog.module:
+ fixed the URLs of the links in the "latest blogs"-block.
Diffstat (limited to 'includes')
-rw-r--r-- | includes/comment.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/comment.inc b/includes/comment.inc index cea35102f..274c6e7be 100644 --- a/includes/comment.inc +++ b/includes/comment.inc @@ -78,7 +78,7 @@ function comment_reply($pid, $id) { global $theme; if ($pid) { - $item = db_fetch_object(db_query("SELECT c.*, u.name FROM comments c LEFT JOIN user u ON c.author = u.uid WHERE c.cid = '$pid'")); + $item = db_fetch_object(db_query("SELECT c.*, u.uid, u.name FROM comments c LEFT JOIN user u ON c.author = u.uid WHERE c.cid = '$pid'")); comment_view(new Comment($item->uid, $item->name, $item->subject, $item->comment, $item->timestamp, $item->url, $item->cid, $item->lid), t("reply to this comment")); } else { |