]> git.mxchange.org Git - friendica.git/commitdiff
Fix lost local tags upon update
authorMichael <heluecht@pirati.ca>
Tue, 19 Dec 2023 15:28:20 +0000 (15:28 +0000)
committerMichael <heluecht@pirati.ca>
Tue, 19 Dec 2023 15:28:20 +0000 (15:28 +0000)
src/Model/Item.php

index e54d5fb098e8a79f337814200cc728494f31282a..524c4facb4df0be39783a3e3e6badc2dc2916a0f 100644 (file)
@@ -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;