Skip to content

Commit

Permalink
[TASK] Small code improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
einpraegsam committed Feb 20, 2024
1 parent 49c3008 commit 7a58ced
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Classes/Domain/Model/Visitor.php
Original file line number Diff line number Diff line change
Expand Up @@ -947,13 +947,12 @@ public function getImageUrl(): string
*/
public function getFullName(): string
{
$name = $this->getNameCombination();
if ($this->isIdentified()) {
$name = $this->getNameCombination();
if (empty($name)) {
$name = $this->getEmail();
}
} else {
$name = $this->getNameCombination();
if (!empty($name)) {
$name .= ' [' . LocalizationUtility::translateByKey('notIdentified') . ']';
} else {
Expand Down

0 comments on commit 7a58ced

Please sign in to comment.