diff options
author | zotlabs <mike@macgirvin.com> | 2016-10-30 12:33:30 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2016-10-30 12:33:30 -0700 |
commit | 321a32050b0bbf1478e4152fa1479d6486230721 (patch) | |
tree | 41e99f59c953394b160f0eae5a97d4ff1dad738b /include/items.php | |
parent | db6a207afebbb44734026290fadc3836adf522ec (diff) | |
download | volse-hubzilla-321a32050b0bbf1478e4152fa1479d6486230721.tar.gz volse-hubzilla-321a32050b0bbf1478e4152fa1479d6486230721.tar.bz2 volse-hubzilla-321a32050b0bbf1478e4152fa1479d6486230721.zip |
improve the check in 9b42bc860
Diffstat (limited to 'include/items.php')
-rwxr-xr-x | include/items.php | 2 |
1 files changed, 1 insertions, 1 deletions
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']; |