issues with editing webpage permissions

This commit is contained in:
friendica
2014-06-15 18:58:02 -07:00
parent 2d6a1795b7
commit 72f00d6e04
3 changed files with 15 additions and 7 deletions

View File

@@ -280,11 +280,10 @@ function item_post(&$a) {
if((strlen($str_group_allow))
|| strlen($str_contact_allow)
|| strlen($str_group_deny)
|| strlen(str_contact_deny)) {
|| strlen($str_contact_deny)) {
$private = 1;
}
$location = $orig_post['location'];
$coord = $orig_post['coord'];
$verb = $orig_post['verb'];
@@ -292,12 +291,19 @@ function item_post(&$a) {
$title = $_REQUEST['title'];
$body = $_REQUEST['body'];
$item_flags = $orig_post['item_flags'];
// force us to recalculate if we need to obscure this post
if($item_flags & ITEM_OBSCURED)
$item_flags = ($item_flags ^ ITEM_OBSCURED);
$item_restrict = $orig_post['item_restrict'];
$postopts = $orig_post['postopts'];
$created = $orig_post['created'];
$mid = $orig_post['mid'];
$parent_mid = $orig_post['parent_mid'];
$plink = $orig_post['plink'];
}
else {