diff options
author | Mario <mario@mariovavti.com> | 2021-03-10 20:44:20 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-03-10 20:44:20 +0000 |
commit | 260c518562f6402fea563cbd6988efbd05abd10a (patch) | |
tree | 588025dc5725c8947d53637c8b13ef5c18bd245e | |
parent | 689603de8240619f801daeb56c0de0197f66cedd (diff) | |
download | volse-hubzilla-260c518562f6402fea563cbd6988efbd05abd10a.tar.gz volse-hubzilla-260c518562f6402fea563cbd6988efbd05abd10a.tar.bz2 volse-hubzilla-260c518562f6402fea563cbd6988efbd05abd10a.zip |
if rewriting the mid also rewrite the llink
-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 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", |