From db0e1c9f31022453d44e68183673c55c8f880b3e Mon Sep 17 00:00:00 2001 From: Mario Date: Thu, 11 Mar 2021 08:25:26 +0000 Subject: save the rewritten llink --- include/items.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/items.php') diff --git a/include/items.php b/include/items.php index d781ff8b8..a4b026e2e 100644 --- a/include/items.php +++ b/include/items.php @@ -3256,11 +3256,12 @@ function start_delivery_chain($channel, $item, $item_id, $parent, $group = false $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", + $r = q("UPDATE item SET author_xchan = '%s', mid = '%s', parent_mid = '%s', thr_parent = '%s', llink = '%s' WHERE id = %d", dbesc($item['author_xchan']), dbesc($item['mid']), dbesc($item['parent_mid']), dbesc($item['thr_parent']), + dbesc($item['llink']), intval($item_id) ); } -- cgit v1.2.3