API-Route to new global variables

This commit is contained in:
th.guenther committed 2026-02-05 09:18:24 +01:00
1 parent e9ae850002
commit 6fc65e195c
8 files changed
+108 -65

No files matched your search

+1 -1
View File
@@ -101,6 +101,6 @@ class User extends Authenticatable
}
public function getNicename() : string {
return $this->nickname !== '' ? $this->nickname : $this->firstname;
return $this->nickname ?? $this->firstname;
}
}