Account: unset public_comment when public_status is disabled

This commit is contained in:
Daniel Friesel 2019-12-08 10:32:22 +01:00
parent 2bee9077ba
commit 402a5597f5

View file

@ -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 {