From 55bbe2108abeb69d55eb2fa8a9a472af7b2251b1 Mon Sep 17 00:00:00 2001 From: Friendika Date: Tue, 12 Jul 2011 01:24:07 -0700 Subject: [PATCH] event ownership from remote feeds messed up, this is one step - may require more --- mod/item.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/mod/item.php b/mod/item.php index 8a4f8293c8..f6f665a189 100644 --- a/mod/item.php +++ b/mod/item.php @@ -184,12 +184,10 @@ function item_post(&$a) { if($post_type === 'net-comment') { if($parent_item !== null) { - if($parent_item['type'] === 'remote') { - $post_type = 'remote-comment'; - } - else { + if($parent_item['wall'] == 1) $post_type = 'wall-comment'; - } + else + $post_type = 'remote-comment'; } }