aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-06-18 19:15:33 -0700
committerfriendica <info@friendica.com>2013-06-18 19:15:33 -0700
commit2e7afa96f4018d63b35f276236cd60e25879fc53 (patch)
treec717d96e24a9b6db70b3d0425f260a3d054f6860
parent40c8e89d8476696a2e4a57a27970f6067b803e22 (diff)
downloadvolse-hubzilla-2e7afa96f4018d63b35f276236cd60e25879fc53.tar.gz
volse-hubzilla-2e7afa96f4018d63b35f276236cd60e25879fc53.tar.bz2
volse-hubzilla-2e7afa96f4018d63b35f276236cd60e25879fc53.zip
map comment_policy on local post submission
-rw-r--r--mod/item.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/mod/item.php b/mod/item.php
index ed5941d2a..338d2a2ee 100644
--- a/mod/item.php
+++ b/mod/item.php
@@ -532,6 +532,7 @@ function item_post(&$a) {
$datarray['item_restrict'] = $item_restrict;
$datarray['item_flags'] = $item_flags;
+ $datarray['comment_policy'] = map_scope($channel['channel_w_comment']);
// preview mode - prepare the body for display and send it via json