From 1c46f56b50b71aa0794b8a8939488b9403371f6b Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 2 Mar 2023 18:34:01 +0100 Subject: fix comment visibilitiy check --- templates/_checked_in.html.ep | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/_checked_in.html.ep') diff --git a/templates/_checked_in.html.ep b/templates/_checked_in.html.ep index 1775986..8e1fd1d 100644 --- a/templates/_checked_in.html.ep +++ b/templates/_checked_in.html.ep @@ -276,7 +276,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} & 0x04 and $journey->{comment}) { + % if ($user->{is_public} & 0x80 and $journey->{comment}) { data-text="<%= $journey->{comment} %> (@ <%= $journey->{train_type} %> <%= $journey->{train_no} %> → <%= $journey->{arr_name} %>) #travelynx" % } % else { -- cgit v1.2.3