summaryrefslogtreecommitdiff
path: root/templates/_checked_in.html.ep
diff options
context:
space:
mode:
authorDerf Null <derf@finalrewind.org>2023-05-29 15:24:51 +0200
committerDerf Null <derf@finalrewind.org>2023-05-29 15:24:51 +0200
commita3c97a17a8b910c1d811fa38e44fdb337bdc4d45 (patch)
tree3ddee2d83c688f103d0f8406a788ba85b2e57f46 /templates/_checked_in.html.ep
parent24584f71b1c19d16af29b547fe27bae8c8ad5d5c (diff)
comment editor, share button: fix comment visibility check
Diffstat (limited to 'templates/_checked_in.html.ep')
-rw-r--r--templates/_checked_in.html.ep2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/_checked_in.html.ep b/templates/_checked_in.html.ep
index b8c8c6b..2d39842 100644
--- a/templates/_checked_in.html.ep
+++ b/templates/_checked_in.html.ep
@@ -278,7 +278,7 @@
% if ($journey->{real_arrival}->epoch and $journey_visibility eq 'private') {
% $arr_text = $journey->{real_arrival}->strftime(' – Ankunft gegen %H:%M Uhr');
% }
- % if ($user->{is_public} & 0x80 and $journey->{comment}) {
+ % if ($user->{comments_visible} and $journey->{comment}) {
data-text="<%= $journey->{comment} %> (@ <%= $journey->{train_type} %> <%= $journey->{train_no} %> → <%= $journey->{arr_name} %>) #travelynx"
% }
% else {