item flag fixes discovered after a few merges

This commit is contained in:
redmatrix
2015-06-23 19:45:39 -07:00
parent 833098e346
commit cb76fb8b9b
9 changed files with 12 additions and 33 deletions

View File

@@ -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)
);