NMRelation cleanup / improvement

This commit is contained in:
2023-01-10 22:12:05 +01:00
parent f14a7a4762
commit 13f7866d42
13 changed files with 303 additions and 272 deletions

View File

@@ -92,7 +92,7 @@ class User extends DatabaseEntity {
return [
'id' => $this->getId(),
'username' => $this->name,
'language' => $this->language->getName(),
'language' => isset($this->language) ? $this->language->getName() : null,
];
}