fix: remove tick

This commit is contained in:
Marvin Flock
2025-04-09 15:48:31 +02:00
parent cac8f33aa7
commit fea9f4089c
@@ -42,7 +42,7 @@ class MathParserSM extends MathParser
} }
if (!$login || Factory::getContainer()->get(SiteApplication::class)->getIdentity()->id) { if (!$login || Factory::getContainer()->get(SiteApplication::class)->getIdentity()->id) {
Log::add('Unauthorized user with id ' . Factory::getContainer()->get(SiteApplication::class)->getIdentity()->id, Log::WARNING, 'com_sportsmanager'); Log::add('Unauthorized user with id ' . Factory::getContainer()->get(SiteApplication::class)->getIdentity()->id, Log::WARNING, 'com_sportsmanager');
throw new RuntimeException('´Not authorized!', 401); throw new RuntimeException('Not authorized!', 401);
} }
$version = new Version(); $version = new Version();
$joomla = $version->getShortVersion(); $joomla = $version->getShortVersion();