diff options
author | Lukas Fleischer <lfleischer@archlinux.org> | 2015-12-12 13:05:02 +0100 |
---|---|---|
committer | Lukas Fleischer <lfleischer@archlinux.org> | 2015-12-12 21:59:35 +0100 |
commit | c085be8c0d0e0c391f49baf44c895f015d329c73 (patch) | |
tree | efccd18af2406132ef9fcf2f06ed2c1464917747 /web/template/pkg_comments.php | |
parent | 7d4c0c9ffa55ca60aea24b6aa64417783a15ea80 (diff) | |
download | aurweb-c085be8c0d0e0c391f49baf44c895f015d329c73.tar.xz |
Only show "last edited" to logged in users
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'web/template/pkg_comments.php')
-rw-r--r-- | web/template/pkg_comments.php | 2 |
1 files changed, 1 insertions, 1 deletions
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']) { |