diff options
author | Mario <mario@mariovavti.com> | 2021-03-11 08:25:26 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-03-11 08:25:26 +0000 |
commit | db0e1c9f31022453d44e68183673c55c8f880b3e (patch) | |
tree | 2b076237cdce670c0f2db4ac7f9073b42472e6d5 /include/items.php | |
parent | 260c518562f6402fea563cbd6988efbd05abd10a (diff) | |
download | volse-hubzilla-db0e1c9f31022453d44e68183673c55c8f880b3e.tar.gz volse-hubzilla-db0e1c9f31022453d44e68183673c55c8f880b3e.tar.bz2 volse-hubzilla-db0e1c9f31022453d44e68183673c55c8f880b3e.zip |
save the rewritten llink
Diffstat (limited to 'include/items.php')
-rw-r--r-- | include/items.php | 3 |
1 files changed, 2 insertions, 1 deletions
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) ); } |