1
0
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:
Toby Zerner
2015-06-08 09:50:07 +09:30
parent 7ea3252776
commit ef73b0cabb

View File

@@ -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));