From dcb23b76ec13e86e42a50c238309cd88cdeda174 Mon Sep 17 00:00:00 2001 From: LD-Reborn Date: Sat, 25 Oct 2025 22:14:11 +0200 Subject: [PATCH] Fixed something in HomeController, I don't remember what --- src/Controllers/HomeController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Controllers/HomeController.cs b/src/Controllers/HomeController.cs index dc276f7..9d5555a 100644 --- a/src/Controllers/HomeController.cs +++ b/src/Controllers/HomeController.cs @@ -89,7 +89,7 @@ public class HomeController : Controller Surname = user.Sn ?? "", Title = user.Title ?? "", Uid = user.Uid, - Workplace = user.Description?.Workplace ?? "" + Description = user.Description ?? new() {Address = new(), BirthDate = "", Workplace = "", Groups = []} }); } return View(new UsersIndexViewModel() { UserTableViewModels = UserTableViewModels });