aboutsummaryrefslogtreecommitdiffstats
path: root/mod/branchtopic.php
diff options
context:
space:
mode:
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)
);