#1684 - PHP notice errors showing during install need to be fixed.

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44584 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Andrew O'Neil 2007-11-11 21:03:33 +00:00
parent 7410f46f12
commit c36eac4671

View File

@ -138,9 +138,9 @@ class DatabaseAdmin extends Controller {
global $databaseConfig;
$parameters = $databaseConfig ? $databaseConfig : $_REQUEST['db'];
$connect = DB::getConnect($parameters);
$username = $parameters[username];
$password = $parameters[password];
$database = $parameters[database];
$username = $parameters['username'];
$password = $parameters['password'];
$database = $parameters['database'];
DB::createDatabase($connect, $username, $password, $database);
// ManifestBuilder::compileManifest();
}