1
0
Fork 0

Changed "hidewall" behaviour

This commit is contained in:
Michael 2019-09-18 05:20:33 +00:00
commit 1144863090
3 changed files with 6 additions and 9 deletions

View file

@ -284,10 +284,6 @@ function item_post(App $a) {
$private = ((strlen($str_group_allow) || strlen($str_contact_allow) || strlen($str_group_deny) || strlen($str_contact_deny)) ? 1 : 0);
if ($user['hidewall']) {
$private = 2;
}
// If this is a comment, set the permissions from the parent.
if ($toplevel_item) {