aboutsummaryrefslogtreecommitdiffstats
path: root/mod/item.php
diff options
context:
space:
mode:
authorFabio Comuni <fabrix.xm@gmail.com>2011-07-20 10:01:12 +0200
committerFabio Comuni <fabrix.xm@gmail.com>2011-07-20 10:01:12 +0200
commit020deefba613327a1d8875ba7f2cf9a750be42dd (patch)
treef5989c7f45b512c81cc4bec025e7c7137419d516 /mod/item.php
parent1c9ed08620578bebc8af16e003a2ecef2b8a1f37 (diff)
parentb27d68633be6219c3f65d830178e3dc96c1c91e9 (diff)
downloadvolse-hubzilla-020deefba613327a1d8875ba7f2cf9a750be42dd.tar.gz
volse-hubzilla-020deefba613327a1d8875ba7f2cf9a750be42dd.tar.bz2
volse-hubzilla-020deefba613327a1d8875ba7f2cf9a750be42dd.zip
Merge remote-tracking branch 'friendika/master' into newacl
Diffstat (limited to 'mod/item.php')
-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';
}
}