aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2016-10-30 12:33:30 -0700
committerzotlabs <mike@macgirvin.com>2016-10-30 12:33:30 -0700
commit321a32050b0bbf1478e4152fa1479d6486230721 (patch)
tree41e99f59c953394b160f0eae5a97d4ff1dad738b
parentdb6a207afebbb44734026290fadc3836adf522ec (diff)
downloadvolse-hubzilla-321a32050b0bbf1478e4152fa1479d6486230721.tar.gz
volse-hubzilla-321a32050b0bbf1478e4152fa1479d6486230721.tar.bz2
volse-hubzilla-321a32050b0bbf1478e4152fa1479d6486230721.zip
improve the check in 9b42bc860
-rwxr-xr-xinclude/items.php2
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'];