[aur-dev] [PATCH] Only show "last edited" to logged in users
12 Dec
2015
12 Dec
'15
12:06 p.m.
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org> --- web/template/pkg_comments.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 .= ' <span class="edited">('; if ($row['DelUsersID']) { -- 2.6.4
3298
Age (days ago)
3298
Last active (days ago)
0 comments
1 participants
participants (1)
-
Lukas Fleischer