From: Friendika Date: Tue, 12 Jul 2011 08:24:07 +0000 (-0700) Subject: event ownership from remote feeds messed up, this is one step - may require more X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=55bbe2108abeb69d55eb2fa8a9a472af7b2251b1;p=friendica.git event ownership from remote feeds messed up, this is one step - may require more --- 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'; } }