From: Michael Date: Tue, 19 Dec 2023 15:28:20 +0000 (+0000) Subject: Fix lost local tags upon update X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=fbcfa46bebac112475921d78893d76c303b1c9bb;p=friendica.git Fix lost local tags upon update --- diff --git a/src/Model/Item.php b/src/Model/Item.php index e54d5fb098..524c4facb4 100644 --- a/src/Model/Item.php +++ b/src/Model/Item.php @@ -196,6 +196,10 @@ class Item $previous = Post::selectFirst(['edited'], $condition); } + if (!empty($fields['body'])) { + $fields['body'] = self::setHashtags($fields['body']); + } + $rows = Post::update($fields, $condition); if (is_bool($rows)) { return $rows;