diff --git a/src/core/models/DatabasePDO.php b/src/core/models/DatabasePDO.php index 1600621cc7228f51bea69e8277fef6c916d21da7..dec10e46f7d05ebf4a099ae162c2d9d7b8a9899f 100755 --- a/src/core/models/DatabasePDO.php +++ b/src/core/models/DatabasePDO.php @@ -80,7 +80,7 @@ class DatabasePDO self::$pdo = new \PDO($dsn, $user, $password, $options); break; } catch (\PDOException $PDOException) { - if (!empty($loaderJson['databases'][$key + 1])) { + if (!empty($loaderJson['database'][$key + 1])) { continue; } else { throw new \Exception($PDOException->getMessage());