aboutsummaryrefslogtreecommitdiffstats
path: root/mod/branchtopic.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-06-23 19:45:39 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-06-23 19:45:39 -0700
commitcb76fb8b9b659c4ec06e359f375a35a534927b99 (patch)
treecb5a77aa95ea6e510e9e1ccb33238d6de0957ec7 /mod/branchtopic.php
parent833098e3460e0a2c7fbffaa59163af815f419e68 (diff)
downloadvolse-hubzilla-cb76fb8b9b659c4ec06e359f375a35a534927b99.tar.gz
volse-hubzilla-cb76fb8b9b659c4ec06e359f375a35a534927b99.tar.bz2
volse-hubzilla-cb76fb8b9b659c4ec06e359f375a35a534927b99.zip
item flag fixes discovered after a few merges
Diffstat (limited to 'mod/branchtopic.php')
-rw-r--r--mod/branchtopic.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/mod/branchtopic.php b/mod/branchtopic.php
index 609cb19ec..d49bbaf4c 100644
--- a/mod/branchtopic.php
+++ b/mod/branchtopic.php
@@ -33,8 +33,7 @@ function branchtopic_init(&$a) {
intval(local_channel())
);
- $x = q("update item set parent = id, route = '', item_flags = (item_flags | %d) where id = %d",
- intval(ITEM_THREAD_TOP),
+ $x = q("update item set parent = id, route = '', item_thread_top = 1 where id = %d",
intval($item_id)
);