mirror of
https://github.com/flarum/framework.git
synced 2025-05-16 03:02:31 +08:00
Clear bio HTML cache when saving bio
This commit is contained in:
parent
250e16d970
commit
4d2f58b693
@ -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