From c4a07010f76a0cc7f4b3ed3d7e08912bce14dcb6 Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 6 Nov 2014 18:05:02 -0800 Subject: visible flag reversed --- include/photos.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/photos.php') 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(); -- cgit v1.2.3