Browse Source

Optimize the display of the signature in the profile template

Visman 4 years ago
parent
commit
0f15214620
1 changed files with 3 additions and 1 deletions
  1. 3 1
      app/Models/User/Model.php

+ 3 - 1
app/Models/User/Model.php

@@ -270,7 +270,9 @@ class Model extends DataModel
      */
     protected function gethtmlSign(): string
     {
-        return $this->c->censorship->censor($this->c->Parser->parseSignature($this->signature));
+        return $this->isSignature
+            ? $this->c->censorship->censor($this->c->Parser->parseSignature($this->signature))
+            : '';
     }
 
     /**