From 4274a2d06c9ee2c28acba0dac3d5353e13776581 Mon Sep 17 00:00:00 2001 From: friendica Date: Sun, 2 Nov 2014 00:06:52 -0700 Subject: add some more safety checks before turning the conversation request messages back on --- 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 badbbd791..adb7c988a 100644 --- a/include/photos.php +++ b/include/photos.php @@ -178,7 +178,7 @@ function photo_upload($channel, $observer, $args) { if($args['title']) $p['title'] = $args['title']; if($args['description']) - $p['desciprion'] = $args['description']; + $p['description'] = $args['description']; $r1 = $ph->save($p); -- cgit v1.2.3 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