Fix lost local tags upon update
This commit is contained in:
parent
3cfe7d61fc
commit
fbcfa46beb
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue