mirror of
https://github.com/Deutscher-Tischfussballbund/com_sportsmanager.git
synced 2026-06-10 06:27:52 +00:00
feat: add isJson check
This commit is contained in:
@@ -16569,11 +16569,16 @@ function adminTermine($admin_uebersicht) {
|
||||
}
|
||||
$laender = $db->loadObjectList();
|
||||
|
||||
if (isJson()) {
|
||||
JSON_sportsmanager::JSON($termine);
|
||||
} else {
|
||||
HTML_sportsmanager_admin::adminTermine($termine, $termineSymbole, $jahre, $filter_jahr, $filter_veranstaltung, $filter_zusatz, $filter_land, $veranstaltungen, $zusaetze, $laender, $anzahl_beantragte_termine, $zugriffsebene, $admin_uebersicht, isExternalDatabase());
|
||||
|
||||
if (!$admin_uebersicht)
|
||||
if (!$admin_uebersicht) {
|
||||
administrationFooter();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function adminEditTermin($admin_uebersicht) {
|
||||
$db =& getDatabase();
|
||||
|
||||
Reference in New Issue
Block a user