From a94e4522b976ec5cd8d464afbb657de3c2fc1864 Mon Sep 17 00:00:00 2001 From: Jamiras Date: Thu, 11 Apr 2024 12:01:23 -0600 Subject: [PATCH] fix null exception sending emails for new set completion --- app/Helpers/database/set-request.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Helpers/database/set-request.php b/app/Helpers/database/set-request.php index 29e13e4920..b4070e8722 100644 --- a/app/Helpers/database/set-request.php +++ b/app/Helpers/database/set-request.php @@ -67,7 +67,7 @@ function getSetRequestorsList(int $gameId, bool $getEmailInfo = false): array ->with('user'); if ($getEmailInfo) { - $query->with(['game:ID,title']); + $query->with(['game:ID,Title']); } $setRequests = $query->get();