mirror of
https://github.com/flarum/core.git
synced 2025-07-30 13:10:24 +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)
|
||||
{
|
||||
$this->bio = $bio;
|
||||
$this->bio_html = null;
|
||||
|
||||
$this->raise(new UserBioWasChanged($this));
|
||||
|
||||
|
Reference in New Issue
Block a user