diff options
Diffstat (limited to 'lib/private/User/LazyUser.php')
-rw-r--r-- | lib/private/User/LazyUser.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/User/LazyUser.php b/lib/private/User/LazyUser.php index c36ff86eff4..5472cf6f2b4 100644 --- a/lib/private/User/LazyUser.php +++ b/lib/private/User/LazyUser.php @@ -65,7 +65,7 @@ class LazyUser implements IUser { return $this->displayName; } - return $this->userManager->getDisplayName($this->uid); + return $this->userManager->getDisplayName($this->uid) ?? $this->uid; } public function setDisplayName($displayName) { |