aboutsummaryrefslogtreecommitdiffstats
path: root/mod/subthread.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-05-06 21:03:33 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-05-06 21:03:33 -0700
commit25b599a4bd831f175572c2388754e8734a255d77 (patch)
tree16559183d5d004c430dd8d83171bb9348e784021 /mod/subthread.php
parent75b8bfc07a2431a6d4d5f2f72864d6cd3aa33cf6 (diff)
downloadvolse-hubzilla-25b599a4bd831f175572c2388754e8734a255d77.tar.gz
volse-hubzilla-25b599a4bd831f175572c2388754e8734a255d77.tar.bz2
volse-hubzilla-25b599a4bd831f175572c2388754e8734a255d77.zip
convert ITEM_WALL from bitfield to standalone
Diffstat (limited to 'mod/subthread.php')
-rwxr-xr-xmod/subthread.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/mod/subthread.php b/mod/subthread.php
index eeb8f131d..bdb582a57 100755
--- a/mod/subthread.php
+++ b/mod/subthread.php
@@ -103,9 +103,6 @@ function subthread_content(&$a) {
$bodyverb = t('%1$s is following %2$s\'s %3$s');
$item_flags = ITEM_ORIGIN | ITEM_NOTSHOWN;
- if($item['item_flags'] & ITEM_WALL)
- $item_flags |= ITEM_WALL;
-
$arr = array();
@@ -113,6 +110,7 @@ function subthread_content(&$a) {
$arr['aid'] = $owner_aid;
$arr['uid'] = $owner_uid;
$arr['item_flags'] = $item_flags;
+ $arr['item_wall'] = $item['item_wall'];
$arr['parent'] = $item['id'];
$arr['parent_mid'] = $item['mid'];
$arr['thr_parent'] = $item['mid'];