Permalink
Browse files

BUGFIX #5202 Installer now properly populates database configuration …

…inputs from request after user clicks "Re-check requirements" (from r101087)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@111584 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information...
1 parent a96cb31 commit deb88d1143ca0dafc4d4c153ad424e8b45b29661 @sminnee sminnee committed Oct 4, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 dev/install/config-form.html
@@ -158,7 +158,7 @@ <h4 class="sectionHeading">Database</h4>
if($usingEnv && isset($fieldSpec['envVar']) && defined($fieldSpec['envVar'])) {
$value = constant($fieldSpec['envVar']);
} else {
- $value = (isset($databaseConfig[$class][$fieldName])) ? $databaseConfig[$class][$fieldName] : $defaultValue;
+ $value = (isset($databaseConfig[$fieldName])) ? $databaseConfig[$fieldName] : $defaultValue;
}
// attributes

0 comments on commit deb88d1

Please sign in to comment.