aboutsummaryrefslogtreecommitdiffstats
path: root/include/photos.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-11-06 18:05:02 -0800
committerfriendica <info@friendica.com>2014-11-06 18:05:02 -0800
commitc4a07010f76a0cc7f4b3ed3d7e08912bce14dcb6 (patch)
treedb90de5bb66f0ed58f08ca542f04d5cb563778a5 /include/photos.php
parent1fbd1a79c7a19ff51b9e8ab4bad67ec0bf687839 (diff)
downloadvolse-hubzilla-c4a07010f76a0cc7f4b3ed3d7e08912bce14dcb6.tar.gz
volse-hubzilla-c4a07010f76a0cc7f4b3ed3d7e08912bce14dcb6.tar.bz2
volse-hubzilla-c4a07010f76a0cc7f4b3ed3d7e08912bce14dcb6.zip
visible flag reversed
Diffstat (limited to 'include/photos.php')
-rw-r--r--include/photos.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/photos.php b/include/photos.php
index adb7c988a..23c1ea826 100644
--- a/include/photos.php
+++ b/include/photos.php
@@ -431,7 +431,7 @@ function photos_create_item($channel, $creator_hash, $photo, $visible = false) {
// Create item container
$item_flags = ITEM_WALL|ITEM_ORIGIN|ITEM_THREAD_TOP;
- $item_restrict = (($visible) ? ITEM_HIDDEN : ITEM_VISIBLE);
+ $item_restrict = (($visible) ? ITEM_VISIBLE : ITEM_HIDDEN);
$title = '';
$mid = item_message_id();