Only show "last edited" to logged in users

Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
Lukas Fleischer 2015-12-12 13:05:02 +01:00
parent 7d4c0c9ffa
commit c085be8c0d

View file

@ -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']) {