aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-11-26 15:50:30 -0800
committerfriendica <info@friendica.com>2013-11-26 15:50:30 -0800
commit7aa7f0f4eb201627b89c0587185ad72efc7e6606 (patch)
tree032c0dfde4c37f9d0460faa9c22737e578b8dbd8 /mod
parentdde3e28ceb150b2ddc6f60ea6c0c25aa45176921 (diff)
downloadvolse-hubzilla-7aa7f0f4eb201627b89c0587185ad72efc7e6606.tar.gz
volse-hubzilla-7aa7f0f4eb201627b89c0587185ad72efc7e6606.tar.bz2
volse-hubzilla-7aa7f0f4eb201627b89c0587185ad72efc7e6606.zip
allow editing posts on connectors that support edits
Diffstat (limited to 'mod')
-rw-r--r--mod/item.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/mod/item.php b/mod/item.php
index f5df854ee..6781eba2d 100644
--- a/mod/item.php
+++ b/mod/item.php
@@ -273,6 +273,7 @@ function item_post(&$a) {
$private = $orig_post['item_private'];
$item_flags = $orig_post['item_flags'];
$item_restrict = $orig_post['item_restrict'];
+ $postopts = $orig_post['postopts'];
}
else {
@@ -305,6 +306,7 @@ function item_post(&$a) {
$verb = notags(trim($_REQUEST['verb']));
$title = escape_tags(trim($_REQUEST['title']));
$body = $_REQUEST['body'];
+ $postopts = '';
$private = (
( strlen($str_group_allow)
@@ -622,7 +624,7 @@ function item_post(&$a) {
$datarray['item_private'] = $private;
$datarray['attach'] = $attachments;
$datarray['thr_parent'] = $thr_parent;
- $datarray['postopts'] = '';
+ $datarray['postopts'] = $postopts;
$datarray['item_restrict'] = $item_restrict;
$datarray['item_flags'] = $item_flags;
$datarray['layout_mid'] = $layout_mid;