|
@@ 281-283 (lines=3) @@
|
| 278 |
|
$html = '<select> |
| 279 |
|
<option' . ($selected == '' ? ' selected' : '') . '></option>'; |
| 280 |
|
foreach (array_merge($this->brackets[1]) as $bracket) { // Bug Fix 24-02-2017 , $this->brackets[2] |
| 281 |
|
if ($bracket['playerA'] != '') { |
| 282 |
|
$html .= '<option' . ($selected == $bracket['playerA'] ? ' selected' : '') . '>' . $bracket['playerA'] . '</option>'; |
| 283 |
|
} |
| 284 |
|
|
| 285 |
|
if ($bracket['playerB'] != '') { |
| 286 |
|
$html .= '<option' . ($selected == $bracket['playerB'] ? ' selected' : '') . '>' . $bracket['playerB'] . '</option>'; |
|
@@ 285-287 (lines=3) @@
|
| 282 |
|
$html .= '<option' . ($selected == $bracket['playerA'] ? ' selected' : '') . '>' . $bracket['playerA'] . '</option>'; |
| 283 |
|
} |
| 284 |
|
|
| 285 |
|
if ($bracket['playerB'] != '') { |
| 286 |
|
$html .= '<option' . ($selected == $bracket['playerB'] ? ' selected' : '') . '>' . $bracket['playerB'] . '</option>'; |
| 287 |
|
} |
| 288 |
|
} |
| 289 |
|
|
| 290 |
|
$html .= '</select>'; |