Skip to content

A free, self-hostable news aggregator…

Fix install bug 2

Alexandre Alapetite2cbf307963c7
diff --git a/app/install.php b/app/install.php
index dbc2a8908..fcc901713 100644
--- a/app/install.php
+++ b/app/install.php
@@ -341,7 +341,7 @@ function checkDbUser(&$dbOptions) {
$str = $dbOptions['dsn'];
$driver_options = $dbOptions['options'];
try {
- $c = new PDO($str, $dbOptions['bd_user'], $dbOptions['bd_password'], $driver_options);
+ $c = new PDO($str, $dbOptions['user'], $dbOptions['password'], $driver_options);
if (defined('SQL_CREATE_TABLES')) {
$sql = sprintf(SQL_CREATE_TABLES, $dbOptions['prefix_user'], _t('gen.short.default_category'));