diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2023-03-02 18:34:01 +0100 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2023-03-02 18:34:01 +0100 |
commit | 1c46f56b50b71aa0794b8a8939488b9403371f6b (patch) | |
tree | 009aa6392c5a3713f7af1fee3592d72ae2d1e37c /lib | |
parent | 792ab9fe23a89682115ff02808e813dc92c597f8 (diff) |
fix comment visibilitiy check
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/Travelynx/Controller/Traveling.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Travelynx/Controller/Traveling.pm b/lib/Travelynx/Controller/Traveling.pm index 316ee08..1058837 100755 --- a/lib/Travelynx/Controller/Traveling.pm +++ b/lib/Travelynx/Controller/Traveling.pm @@ -822,7 +822,7 @@ sub public_journey_details { include_manual => 1, ); if ( $journey->{user_data}{comment} - and not $user->{public_level} & 0x04 ) + and not $user->{comments_visible} ) { delete $journey->{user_data}{comment}; } |