mirror of
https://github.com/flarum/core.git
synced 2025-07-31 13:40:20 +02:00
Clear bio HTML cache when saving bio
This commit is contained in:
@@ -186,6 +186,7 @@ class User extends Model
|
|||||||
public function changeBio($bio)
|
public function changeBio($bio)
|
||||||
{
|
{
|
||||||
$this->bio = $bio;
|
$this->bio = $bio;
|
||||||
|
$this->bio_html = null;
|
||||||
|
|
||||||
$this->raise(new UserBioWasChanged($this));
|
$this->raise(new UserBioWasChanged($this));
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user