mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-23 18:28:49 +02:00
Mark usernames with @.
This commit is contained in:
parent
73c2aa232d
commit
743423432e
3 changed files with 3 additions and 3 deletions
|
@ -513,7 +513,7 @@ class User extends AttachmentContainingDBElement implements UserInterface, HasPe
|
|||
public function getFullName(bool $including_username = false): string
|
||||
{
|
||||
if ($including_username) {
|
||||
return sprintf('%s %s (%s)', $this->getFirstName(), $this->getLastName(), $this->getName());
|
||||
return sprintf('%s %s (@%s)', $this->getFirstName(), $this->getLastName(), $this->getName());
|
||||
}
|
||||
|
||||
return sprintf('%s %s', $this->getFirstName(), $this->getLastName());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue