aboutsummaryrefslogtreecommitdiff
path: root/lib/models/User.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/models/User.class.php')
-rw-r--r--lib/models/User.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/models/User.class.php b/lib/models/User.class.php
index db670fb..497b76e 100644
--- a/lib/models/User.class.php
+++ b/lib/models/User.class.php
@@ -535,7 +535,7 @@ class User extends AuthUserMd5 implements Range, PrivacyObject
$format = 'full';
}
- $sql = $GLOBALS['_fullname_sql'][$format];
+ $sql = $GLOBALS['_fullname_sql'][$format] ?? null;
if (!$sql || $format == 'no_title') {
return $this->vorname . ' ' . $this->nachname;
}