Account: unset public_comment when public_status is disabled
This commit is contained in:
parent
2bee9077ba
commit
402a5597f5
1 changed files with 4 additions and 1 deletions
|
@ -221,7 +221,10 @@ sub privacy {
|
||||||
else {
|
else {
|
||||||
$public_level &= ~0x02;
|
$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;
|
$public_level |= 0x04;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in a new issue