Korrektur Dropdown Spielorte

This commit is contained in:
Jürgen Meyer
2025-09-17 10:41:59 +02:00
parent ea85f102a5
commit e8c4ab2d1d
@@ -10379,7 +10379,7 @@ class HTML_sportsmanager_admin
echo "<optgroup label=\"" . htmlentities_utf8(!empty($spielort->ortsname) ? $spielort->ortsname : Text::_('COM_SPORTSMANAGER_WITHOUT_PLACE')) . "\">";
$ortsname = $spielort->ortsname;
}
echo "<option value=\"" . $spielort->spielort_id . "\"" . ($row != null ? ($spielort->spielort_id == $row->spielort_id ? " selected" : "") : "") . ">" . htmlentities_utf8($spielort->name) . "</option>";
echo "<option value=\"" . $spielort->spielort_id . "\">" . htmlentities_utf8($spielort->name) . "</option>";
}
if ($ortsname != -1)
echo "</optgroup>";