Fix lost local tags upon update

This commit is contained in:
Michael 2023-12-19 15:28:20 +00:00
parent 3cfe7d61fc
commit fbcfa46beb

View 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;