From c085be8c0d0e0c391f49baf44c895f015d329c73 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Sat, 12 Dec 2015 13:05:02 +0100 Subject: Only show "last edited" to logged in users Signed-off-by: Lukas Fleischer --- web/template/pkg_comments.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/template/pkg_comments.php') diff --git a/web/template/pkg_comments.php b/web/template/pkg_comments.php index 2046364..4f3ee3d 100644 --- a/web/template/pkg_comments.php +++ b/web/template/pkg_comments.php @@ -25,7 +25,7 @@ if (!isset($count)) { $heading = __('Anonymous comment on %s', $date_fmtd); } - if ($row['EditedTS']) { + if ($uid && $row['EditedTS']) { $date_fmtd = gmdate('Y-m-d H:i', $row['EditedTS']); $heading .= ' ('; if ($row['DelUsersID']) { -- cgit v1.2.3-54-g00ecf