From cda50f40fa8919025f128fdfe9d598390ad66d11 Mon Sep 17 00:00:00 2001 From: Matthias Gutjahr Date: Fri, 26 Jul 2013 12:48:13 +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 | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/include/functions_comments.inc.php b/include/functions_comments.inc.php index 73980a0d..872c51ef 100644 --- a/include/functions_comments.inc.php +++ b/include/functions_comments.inc.php @@ -272,6 +272,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..da369182 100644 --- a/templates/2k11/comments_by_author.tpl +++ b/templates/2k11/comments_by_author.tpl @@ -1,6 +1,6 @@

{$CONST.COMMENTS}

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