diff options
Diffstat (limited to 'lib/Travelynx')
-rw-r--r-- | lib/Travelynx/Controller/Account.pm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/Travelynx/Controller/Account.pm b/lib/Travelynx/Controller/Account.pm index cebe21a..39335b9 100644 --- a/lib/Travelynx/Controller/Account.pm +++ b/lib/Travelynx/Controller/Account.pm @@ -221,7 +221,10 @@ sub privacy { else { $public_level &= ~0x02; } - if ( $self->param('public_comment') ) { + + # public comment with non-public status does not make sense + if ( $self->param('public_comment') and $self->param('public_status') ) + { $public_level |= 0x04; } else { |