aboutsummaryrefslogtreecommitdiffstats
path: root/include/items.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-03-11 08:25:26 +0000
committerMario <mario@mariovavti.com>2021-03-15 09:43:08 +0100
commit59d3483a06d452780358793f11e01aa29af9870b (patch)
treeaebac1a977e821686b1c78b5de07936b16019889 /include/items.php
parenta99161abdf1817a5fed4a9914f78c1c2107cc47b (diff)
downloadvolse-hubzilla-59d3483a06d452780358793f11e01aa29af9870b.tar.gz
volse-hubzilla-59d3483a06d452780358793f11e01aa29af9870b.tar.bz2
volse-hubzilla-59d3483a06d452780358793f11e01aa29af9870b.zip
save the rewritten llink
(cherry picked from commit db0e1c9f31022453d44e68183673c55c8f880b3e)
Diffstat (limited to 'include/items.php')
-rw-r--r--include/items.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/items.php b/include/items.php
index a7ebd3055..9f37af225 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)
);
}