mirror of
https://github.com/Deutscher-Tischfussballbund/com_sportsmanager.git
synced 2026-06-10 14:37:52 +00:00
issue #151
This commit is contained in:
@@ -9851,9 +9851,8 @@ class HTML_sportsmanager_admin
|
||||
name="team_id_<?php echo $teamnr; ?>" size="1"
|
||||
aria-label="<?php echo Text::_('COM_SPORTSMANAGER_ARIA_LABEL_PAIRING_TEAM'); ?>">
|
||||
<?php
|
||||
echo "<option value=\"".$rows[$teamnr-1]->team_id."\">".$rows[$teamnr-1]->teamname."</option>";
|
||||
foreach ($rows as $team)
|
||||
echo "<option value=\"" . $team->team_id . "\">" . htmlentities_utf8($team->teamname) . "</option>";
|
||||
echo "<option value=\"" . $team->team_id . "\" ". ($rows[$teamnr - 1]->team_id == $team->team_id ? " selected" : "") . ">" . htmlentities_utf8($team->teamname) . "</option>";
|
||||
?>
|
||||
</select>
|
||||
<?php
|
||||
@@ -9863,9 +9862,8 @@ class HTML_sportsmanager_admin
|
||||
name="team_id_<?php echo $teamnr + 1; ?>" size="1"
|
||||
aria-label="<?php echo Text::_('COM_SPORTSMANAGER_ARIA_LABEL_PAIRING_TEAM'); ?>">
|
||||
<?php
|
||||
echo "<option value=\"".$rows[$teamnr]->team_id."\">".$rows[$teamnr]->teamname."</option>";
|
||||
foreach ($rows as $team)
|
||||
echo "<option value=\"" . $team->team_id . "\">" . htmlentities_utf8($team->teamname) . "</option>";
|
||||
echo "<option value=\"" . $team->team_id . "\" ". ($rows[$teamnr]->team_id == $team->team_id ? " selected" : "") . ">" . htmlentities_utf8($team->teamname) . "</option>";
|
||||
?>
|
||||
</select>
|
||||
<?php
|
||||
|
||||
Reference in New Issue
Block a user