From ddca0066bfa250fd129ad6f2674340cf3fef61c7 Mon Sep 17 00:00:00 2001 From: jmeyer26 Date: Tue, 23 Dec 2025 13:00:55 +0100 Subject: [PATCH] Update src/structure/components/com_sportsmanager/admin.php Co-authored-by: MarvinF --- src/structure/components/com_sportsmanager/admin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structure/components/com_sportsmanager/admin.php b/src/structure/components/com_sportsmanager/admin.php index 265fa29..964e4aa 100644 --- a/src/structure/components/com_sportsmanager/admin.php +++ b/src/structure/components/com_sportsmanager/admin.php @@ -6238,7 +6238,7 @@ function sendJoomlaMail(): void $subject = $db->escape(trim($jInput->get('betreff', '', 'RAW'))); $body = nl2br(trim($jInput->get('nachricht', '', 'RAW'))); - $user_id = isExternalDatabase() ? 0 : (isJson() ? getUserID() : Factory::getContainer()->get(SiteApplication::class)->getIdentity()->id); + $user_id = isExternalDatabase() ? 0 : (isJson() ? getUserID() : $app->getIdentity()->id); $query = "SELECT name, email FROM #__users WHERE id = '$user_id';"; $absender = loadObjectList($db, $query);