Upgrade to 3.4.4

This commit is contained in:
Bastian Allgeier
2020-10-06 10:23:02 +02:00
parent c091f04115
commit 0b80361a79
53 changed files with 976 additions and 83 deletions

View File

@@ -27,11 +27,6 @@ class User extends ModelWithContent
use HasSiblings;
use UserActions;
/**
* @var File
*/
protected $avatar;
/**
* @var UserBlueprint
*/
@@ -798,7 +793,7 @@ class User extends ModelWithContent
*/
protected function setName(string $name = null)
{
$this->name = $name !== null ? trim($name) : null;
$this->name = $name !== null ? trim(strip_tags($name)) : null;
return $this;
}