From 260c518562f6402fea563cbd6988efbd05abd10a Mon Sep 17 00:00:00 2001 From: Mario Date: Wed, 10 Mar 2021 20:44:20 +0000 Subject: if rewriting the mid also rewrite the llink --- include/items.php | 1 + 1 file changed, 1 insertion(+) diff --git a/include/items.php b/include/items.php index c6a5f40a6..d781ff8b8 100644 --- a/include/items.php +++ b/include/items.php @@ -3253,6 +3253,7 @@ function start_delivery_chain($channel, $item, $item_id, $parent, $group = false $item['mid'] = z_root() . '/item/' . $item['uuid']; $item['parent_mid'] = $item['mid']; $item['thr_parent'] = $item['mid']; + $item['llink'] = z_root() . '/display/' . gen_link_id($item['mid']); } $r = q("UPDATE item SET author_xchan = '%s', mid = '%s', parent_mid = '%s', thr_parent = '%s' WHERE id = %d", -- cgit v1.2.3