Skip to content

Commit

Permalink
MINOR Using correct $locale format in installer (regression from last…
Browse files Browse the repository at this point in the history
… commit)
  • Loading branch information
chillu committed May 2, 2012
1 parent 0068b6d commit e929753
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dev/install/config-form.html
Expand Up @@ -229,9 +229,9 @@ <h3 class="sectionHeading">CMS Admin Account <small>Step 3 of 5</small></h3>
<select name="locale" id="locale">
<?php
$selectedLocale = isset($_POST['locale']) ? $_POST['locale'] : $defaultLocale;
foreach($locales as $code => $details) {
foreach($locales as $code => $title) {
$selected = $code == $selectedLocale ? ' selected="selected"' : '';
echo "<option$selected value=\"$code\">{$details[0]} - {$details[1]}</option>\n";
echo "<option$selected value=\"$code\">{$title}</option>\n";
}
?>
</select>
Expand Down

0 comments on commit e929753

Please sign in to comment.