mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-04 14:35:49 +01:00
Fixed coding style.
This commit is contained in:
@@ -508,7 +508,7 @@ class User extends AttachmentContainingDBElement implements UserInterface, HasPe
|
||||
{
|
||||
$tmp = $this->getFirstName();
|
||||
//Dont add a space, if the name has only one part (it would look strange)
|
||||
if (!empty($this->getFirstName()) && !empty($this->getLastName())) {
|
||||
if (! empty($this->getFirstName()) && ! empty($this->getLastName())) {
|
||||
$tmp .= ' ';
|
||||
}
|
||||
$tmp .= $this->getLastName();
|
||||
|
||||
Reference in New Issue
Block a user