mirror of
https://github.com/flarum/framework.git
synced 2025-02-21 09:00:55 +08:00
Clear bio HTML cache when saving bio
This commit is contained in:
parent
7ea3252776
commit
ef73b0cabb
@ -186,6 +186,7 @@ class User extends Model
|
||||
public function changeBio($bio)
|
||||
{
|
||||
$this->bio = $bio;
|
||||
$this->bio_html = null;
|
||||
|
||||
$this->raise(new UserBioWasChanged($this));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user