aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-07-12 01:24:07 -0700
committerFriendika <info@friendika.com>2011-07-12 01:24:07 -0700
commit55bbe2108abeb69d55eb2fa8a9a472af7b2251b1 (patch)
tree3960eb7e671e46c3c7f676b053d9321c6cef5eeb
parent180c15cdf86172edf58b071149e10af648ec90d4 (diff)
downloadvolse-hubzilla-55bbe2108abeb69d55eb2fa8a9a472af7b2251b1.tar.gz
volse-hubzilla-55bbe2108abeb69d55eb2fa8a9a472af7b2251b1.tar.bz2
volse-hubzilla-55bbe2108abeb69d55eb2fa8a9a472af7b2251b1.zip
event ownership from remote feeds messed up, this is one step - may require more
-rw-r--r--mod/item.php8
1 files changed, 3 insertions, 5 deletions
diff --git a/mod/item.php b/mod/item.php
index 8a4f8293c..f6f665a18 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';
}
}