mirror of
https://github.com/Deutscher-Tischfussballbund/com_sportsmanager.git
synced 2026-06-10 06:27:52 +00:00
fix: abort when id is null
This commit is contained in:
@@ -7057,6 +7057,9 @@ function spielerstatistik(): void
|
||||
$query = "select bestenliste_id from #__sportsmanager_bestenliste_veranstaltung where veranstaltung_id = " . $id;
|
||||
$db->setQuery($query);
|
||||
$id = $db->loadResult();
|
||||
if (!$id) {
|
||||
abortWithError("Wrong id!");
|
||||
}
|
||||
}
|
||||
$details_anzeigen = currentUserHasAccessToDetails();
|
||||
$filter_saison_id = $jInput->get('filter_saison_id', 0, 'INT');
|
||||
|
||||
Reference in New Issue
Block a user