diff options
Diffstat (limited to 'mod/item.php')
-rw-r--r-- | mod/item.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/mod/item.php b/mod/item.php index 71d8afd24..49067d940 100644 --- a/mod/item.php +++ b/mod/item.php @@ -96,8 +96,12 @@ function item_post(&$a) { $post_type == notags(trim($_POST['type'])); if($post_type == 'net-comment') { - if($parent_item !== null && $parent_item['type'] != 'remote') - $post_type = 'wall-comment'; + if($parent_item !== null) { + if($parent_item['type'] == 'remote') + $post_type = 'remote-comment'; + else + $post_type = 'wall-comment'; + } } $notify_type = (($parent) ? 'comment-new' : 'wall-new' ); |