visible flag reversed
This commit is contained in:
parent
1fbd1a79c7
commit
c4a07010f7
@ -431,7 +431,7 @@ function photos_create_item($channel, $creator_hash, $photo, $visible = false) {
|
|||||||
// Create item container
|
// Create item container
|
||||||
|
|
||||||
$item_flags = ITEM_WALL|ITEM_ORIGIN|ITEM_THREAD_TOP;
|
$item_flags = ITEM_WALL|ITEM_ORIGIN|ITEM_THREAD_TOP;
|
||||||
$item_restrict = (($visible) ? ITEM_HIDDEN : ITEM_VISIBLE);
|
$item_restrict = (($visible) ? ITEM_VISIBLE : ITEM_HIDDEN);
|
||||||
|
|
||||||
$title = '';
|
$title = '';
|
||||||
$mid = item_message_id();
|
$mid = item_message_id();
|
||||||
|
Reference in New Issue
Block a user