diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-06-23 19:45:39 -0700 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-06-23 19:45:39 -0700 |
commit | cb76fb8b9b659c4ec06e359f375a35a534927b99 (patch) | |
tree | cb5a77aa95ea6e510e9e1ccb33238d6de0957ec7 /mod/branchtopic.php | |
parent | 833098e3460e0a2c7fbffaa59163af815f419e68 (diff) | |
download | volse-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.php | 3 |
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) ); |