Merge pull request #13742 from annando/edit-tags
Fix lost local tags upon update
This commit is contained in:
commit
8fbcdd371e
|
@ -196,6 +196,10 @@ class Item
|
||||||
$previous = Post::selectFirst(['edited'], $condition);
|
$previous = Post::selectFirst(['edited'], $condition);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!empty($fields['body'])) {
|
||||||
|
$fields['body'] = self::setHashtags($fields['body']);
|
||||||
|
}
|
||||||
|
|
||||||
$rows = Post::update($fields, $condition);
|
$rows = Post::update($fields, $condition);
|
||||||
if (is_bool($rows)) {
|
if (is_bool($rows)) {
|
||||||
return $rows;
|
return $rows;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user