aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-08-09 15:21:15 -0700
committerfriendica <info@friendica.com>2014-08-09 15:21:15 -0700
commit1397c6f9948f6b4e44fee2d08acd9ebb416f63a4 (patch)
treea20e512487a69f8a1772d90b79f88901e93e49d2 /include
parent2aef2ed56b83b37e7c8c07a5d651c748f92be696 (diff)
downloadvolse-hubzilla-1397c6f9948f6b4e44fee2d08acd9ebb416f63a4.tar.gz
volse-hubzilla-1397c6f9948f6b4e44fee2d08acd9ebb416f63a4.tar.bz2
volse-hubzilla-1397c6f9948f6b4e44fee2d08acd9ebb416f63a4.zip
booboo
Diffstat (limited to 'include')
-rwxr-xr-xinclude/items.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/items.php b/include/items.php
index aa5dd5ea9..b1d94bf5e 100755
--- a/include/items.php
+++ b/include/items.php
@@ -863,7 +863,7 @@ function encode_item($item) {
else
$comment_scope = 0;
- $scope = $x['public_policy'];
+ $scope = $item['public_policy'];
if(! $scope)
$scope = 'public';
@@ -1795,6 +1795,7 @@ function item_store($arr,$allow_exec = false) {
$allow_gid = $arr['allow_gid'];
$deny_cid = $arr['deny_cid'];
$deny_gid = $arr['deny_gid'];
+ $public_policy = $arr['public_policy'];
$arr['item_flags'] = $arr['item_flags'] | ITEM_THREAD_TOP;
}
else {