mirror of https://github.com/BOINC/boinc.git
web: performance tweak suggested by Scrutinizer
This commit is contained in:
parent
93c46ee5a8
commit
479cbb6154
|
@ -510,8 +510,7 @@ function country_select_options($selected_country="None") {
|
|||
}
|
||||
|
||||
$x = "";
|
||||
for ($i=0; $i<count($countries); $i++) {
|
||||
$country = $countries[$i];
|
||||
foreach ($countries as $country) {
|
||||
$selected = ($selected_country == $country ? "selected":"");
|
||||
$x .= "<option value=\"$country\" $selected>$country</option>\n";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue