summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@archlinux.org>2015-12-12 13:05:02 +0100
committerLukas Fleischer <lfleischer@archlinux.org>2015-12-12 21:59:35 +0100
commitc085be8c0d0e0c391f49baf44c895f015d329c73 (patch)
treeefccd18af2406132ef9fcf2f06ed2c1464917747
parent7d4c0c9ffa55ca60aea24b6aa64417783a15ea80 (diff)
downloadaur-c085be8c0d0e0c391f49baf44c895f015d329c73.tar.gz
aur-c085be8c0d0e0c391f49baf44c895f015d329c73.tar.xz
Only show "last edited" to logged in users
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
-rw-r--r--web/template/pkg_comments.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/template/pkg_comments.php b/web/template/pkg_comments.php
index 20463645..4f3ee3d4 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']) {