From c9e9d93f92f306d316993db1dad883d5835cd0b3 Mon Sep 17 00:00:00 2001 From: Matthias Gutjahr Date: Fri, 26 Jul 2013 12:43:09 +0200 Subject: [PATCH] Added fix for comment_author_self (cp. http://board.s9y.org/viewtopic.php?f=10&t=19115) --- include/functions_comments.inc.php | 1 + templates/2k11/comments_by_author.tpl | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/include/functions_comments.inc.php b/include/functions_comments.inc.php index 7fe77335..cce34f96 100644 --- a/include/functions_comments.inc.php +++ b/include/functions_comments.inc.php @@ -267,6 +267,7 @@ function serendipity_fetchComments($id, $limit = null, $order = '', $showAll = f e.timestamp AS entrytimestamp, e.id AS entryid, e.authorid, + e.author as entryauthor, co.id AS commentid, co.parent_id AS parent_id, co.status diff --git a/templates/2k11/comments_by_author.tpl b/templates/2k11/comments_by_author.tpl index 83323bca..6c51b9d0 100644 --- a/templates/2k11/comments_by_author.tpl +++ b/templates/2k11/comments_by_author.tpl @@ -1,6 +1,7 @@

{$CONST.COMMENTS}

{foreach from=$comments_by_authors item="entry_comments"} -
+