diff --git a/Web/Models/Entities/User.php b/Web/Models/Entities/User.php index 6913855d..9af9b93c 100644 --- a/Web/Models/Entities/User.php +++ b/Web/Models/Entities/User.php @@ -204,6 +204,11 @@ class User extends RowModel return $this->getRecord()->shortcode; } + function getAlert(): ?string + { + return $this->getRecord()->alert; + } + function getBanReason(): ?string { return $this->getRecord()->block_reason; diff --git a/Web/Presenters/templates/User/View.xml b/Web/Presenters/templates/User/View.xml index c2576ac6..ff54e49e 100644 --- a/Web/Presenters/templates/User/View.xml +++ b/Web/Presenters/templates/User/View.xml @@ -349,7 +349,7 @@