diff options
-rwxr-xr-x | include/items.php | 4 |
1 files changed, 2 insertions, 2 deletions
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 +} |