diff options
author | Mario Vavti <mario@mariovavti.com> | 2016-10-30 15:54:06 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2016-10-30 15:54:06 +0100 |
commit | 9b42bc860da9a1540603d8705b4c55a219c401a2 (patch) | |
tree | 64f52ee12bd1968f3774bb9ac885a51d6042237a /include | |
parent | 2b3b5d2c8a5587c81d2c6abf46df7e74cb7f7d02 (diff) | |
download | volse-hubzilla-9b42bc860da9a1540603d8705b4c55a219c401a2.tar.gz volse-hubzilla-9b42bc860da9a1540603d8705b4c55a219c401a2.tar.bz2 volse-hubzilla-9b42bc860da9a1540603d8705b4c55a219c401a2.zip |
possible fix for https://zothub.de/display/2d4996dd629504851d
Diffstat (limited to 'include')
-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 +} |