diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-05-06 21:03:33 -0700 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-05-06 21:03:33 -0700 |
commit | 25b599a4bd831f175572c2388754e8734a255d77 (patch) | |
tree | 16559183d5d004c430dd8d83171bb9348e784021 /mod/poke.php | |
parent | 75b8bfc07a2431a6d4d5f2f72864d6cd3aa33cf6 (diff) | |
download | volse-hubzilla-25b599a4bd831f175572c2388754e8734a255d77.tar.gz volse-hubzilla-25b599a4bd831f175572c2388754e8734a255d77.tar.bz2 volse-hubzilla-25b599a4bd831f175572c2388754e8734a255d77.zip |
convert ITEM_WALL from bitfield to standalone
Diffstat (limited to 'mod/poke.php')
-rwxr-xr-x | mod/poke.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/poke.php b/mod/poke.php index 6257a2821..517387453 100755 --- a/mod/poke.php +++ b/mod/poke.php @@ -87,10 +87,11 @@ function poke_init(&$a) { $arr = array(); - $arr['item_flags'] = ITEM_WALL | ITEM_ORIGIN; + $arr['item_flags'] = ITEM_ORIGIN; if($parent_item) $arr['item_flags'] |= ITEM_THREAD_TOP; + $arr['item_wall'] = 1; $arr['owner_xchan'] = (($parent_item) ? $parent_item['owner_xchan'] : $channel['channel_hash']); $arr['parent_mid'] = (($parent_mid) ? $parent_mid : $mid); $arr['title'] = ''; |