aboutsummaryrefslogtreecommitdiffstats
path: root/include/items.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-02-15 17:18:07 -0800
committerfriendica <info@friendica.com>2013-02-15 17:18:07 -0800
commitc66c168d1c372ebc953a0dc0b52c3e4b5feda722 (patch)
tree50f4c3381b06b386a323f9cdb8608eefc735f9e9 /include/items.php
parentec3d387a6555243bd948c00b3c6b0c2f110635ac (diff)
downloadvolse-hubzilla-c66c168d1c372ebc953a0dc0b52c3e4b5feda722.tar.gz
volse-hubzilla-c66c168d1c372ebc953a0dc0b52c3e4b5feda722.tar.bz2
volse-hubzilla-c66c168d1c372ebc953a0dc0b52c3e4b5feda722.zip
needle/haystack reversal
Diffstat (limited to 'include/items.php')
-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'])