diff --git a/modules/shared/auth/ui/home.php b/modules/shared/auth/ui/home.php index 7cbb8ad..5671403 100644 --- a/modules/shared/auth/ui/home.php +++ b/modules/shared/auth/ui/home.php @@ -182,8 +182,10 @@ function auth_render_market_definitions_content(array $marketTable): string $website = (string) ($row['website_url'] ?? ''); $websiteValue = $website === '' ? 'Nicht hinterlegt' : $website; $status = ($row['archived_at'] ?? null) === null ? 'Aktiv' : 'Archiviert'; - $html[] = '
'; - $html[] = '
' . auth_escape_html((string) ($row['name'] ?? '')) . '
'; + $marketId = (int) ($row['id'] ?? 0); + $marketName = (string) ($row['name'] ?? ''); + $html[] = '
'; + $html[] = '
'; $html[] = '
' . auth_escape_html((string) ($row['category_name'] ?? $row['category_code'] ?? '')) . '
'; $html[] = '
' . auth_escape_html($websiteValue) . '
'; $html[] = '
' . auth_escape_html((string) ($row['occurrence_count'] ?? 0)) . '
'; @@ -192,7 +194,7 @@ function auth_render_market_definitions_content(array $marketTable): string } $html[] = ''; $html[] = ''; - $html[] = '