allow editing posts on connectors that support edits
This commit is contained in:
parent
dde3e28ceb
commit
7aa7f0f4eb
@ -273,6 +273,7 @@ function item_post(&$a) {
|
|||||||
$private = $orig_post['item_private'];
|
$private = $orig_post['item_private'];
|
||||||
$item_flags = $orig_post['item_flags'];
|
$item_flags = $orig_post['item_flags'];
|
||||||
$item_restrict = $orig_post['item_restrict'];
|
$item_restrict = $orig_post['item_restrict'];
|
||||||
|
$postopts = $orig_post['postopts'];
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
||||||
@ -305,6 +306,7 @@ function item_post(&$a) {
|
|||||||
$verb = notags(trim($_REQUEST['verb']));
|
$verb = notags(trim($_REQUEST['verb']));
|
||||||
$title = escape_tags(trim($_REQUEST['title']));
|
$title = escape_tags(trim($_REQUEST['title']));
|
||||||
$body = $_REQUEST['body'];
|
$body = $_REQUEST['body'];
|
||||||
|
$postopts = '';
|
||||||
|
|
||||||
$private = (
|
$private = (
|
||||||
( strlen($str_group_allow)
|
( strlen($str_group_allow)
|
||||||
@ -622,7 +624,7 @@ function item_post(&$a) {
|
|||||||
$datarray['item_private'] = $private;
|
$datarray['item_private'] = $private;
|
||||||
$datarray['attach'] = $attachments;
|
$datarray['attach'] = $attachments;
|
||||||
$datarray['thr_parent'] = $thr_parent;
|
$datarray['thr_parent'] = $thr_parent;
|
||||||
$datarray['postopts'] = '';
|
$datarray['postopts'] = $postopts;
|
||||||
$datarray['item_restrict'] = $item_restrict;
|
$datarray['item_restrict'] = $item_restrict;
|
||||||
$datarray['item_flags'] = $item_flags;
|
$datarray['item_flags'] = $item_flags;
|
||||||
$datarray['layout_mid'] = $layout_mid;
|
$datarray['layout_mid'] = $layout_mid;
|
||||||
|
Reference in New Issue
Block a user