From 321a32050b0bbf1478e4152fa1479d6486230721 Mon Sep 17 00:00:00 2001 From: zotlabs Date: Sun, 30 Oct 2016 12:33:30 -0700 Subject: improve the check in 9b42bc860 --- include/items.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/items.php b/include/items.php index fe1d33919..b1a83dfc2 100755 --- a/include/items.php +++ b/include/items.php @@ -4507,7 +4507,7 @@ function fix_attached_file_permissions($channel,$observer_hash,$body, function item_create_edit_activity($post) { - if((! $post) || (! $post['item']) || ($post['item']['item_type'] == ITEM_TYPE_WEBPAGE)) + if((! $post) || (! $post['item']) || ($post['item']['item_type'] != ITEM_TYPE_POST)) return; $update_item = $post['item']; -- cgit v1.2.3