aboutsummaryrefslogtreecommitdiffstats
path: root/include/items.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/items.php')
-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'];