diff options
author | Mario <mario@mariovavti.com> | 2021-03-10 20:44:20 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-03-15 09:42:56 +0100 |
commit | a99161abdf1817a5fed4a9914f78c1c2107cc47b (patch) | |
tree | 420eec8824d0d8515a79fba5c2b0cb4195540dd0 | |
parent | 79d48dc92b923a27ace82720a14ba5e2a88e845e (diff) | |
download | volse-hubzilla-a99161abdf1817a5fed4a9914f78c1c2107cc47b.tar.gz volse-hubzilla-a99161abdf1817a5fed4a9914f78c1c2107cc47b.tar.bz2 volse-hubzilla-a99161abdf1817a5fed4a9914f78c1c2107cc47b.zip |
if rewriting the mid also rewrite the llink
(cherry picked from commit 260c518562f6402fea563cbd6988efbd05abd10a)
-rw-r--r-- | include/items.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/items.php b/include/items.php index 88f100e60..a7ebd3055 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", |