mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 00:55:19 +00:00
improve the check in 9b42bc860
This commit is contained in:
parent
db6a207afe
commit
321a32050b
1 changed files with 1 additions and 1 deletions
|
@ -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'];
|
||||
|
|
Loading…
Reference in a new issue