summaryrefslogtreecommitdiff
path: root/lib/Travelynx
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Travelynx')
-rwxr-xr-xlib/Travelynx/Controller/Traveling.pm2
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};
}