Fix install bug 2

This commit is contained in:
Alexandre Alapetite committed 2016-10-25 00:32:12 +02:00
1 parent 7dc9862596
commit 2cbf307963
1 file changed
+1 -1
+1 -1
View File
@@ -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'));