aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rwxr-xr-xinclude/items.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/items.php b/include/items.php
index bca1206d2..59bb58eaa 100755
--- a/include/items.php
+++ b/include/items.php
@@ -613,7 +613,7 @@ function encode_item($item) {
if($y = encode_item_flags($item))
$x['flags'] = $y;
- if(! in_array($y,'private'))
+ if(! in_array('private',$y))
$x['public_scope'] = $scope;
if($item['term'])