From 9b42bc860da9a1540603d8705b4c55a219c401a2 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Sun, 30 Oct 2016 15:54:06 +0100 Subject: possible fix for https://zothub.de/display/2d4996dd629504851d --- include/items.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/items.php b/include/items.php index 0463ebce6..fe1d33919 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'])) + if((! $post) || (! $post['item']) || ($post['item']['item_type'] == ITEM_TYPE_WEBPAGE)) return; $update_item = $post['item']; @@ -4574,4 +4574,4 @@ function item_create_edit_activity($post) { \Zotlabs\Daemon\Master::Summon(array('Notifier', 'edit_activity', $post_id)); -} \ No newline at end of file +} -- cgit v1.2.3