Fix lost local tags upon update
This commit is contained in:
parent
3cfe7d61fc
commit
fbcfa46beb
|
@ -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 New Issue
Block a user