Commit 402a5597 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

Account: unset public_comment when public_status is disabled

parent 2bee9077
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -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 {