From 1680c4dcee59da131008cdf541d252dd2f628653 Mon Sep 17 00:00:00 2001 From: Jean-Laurent DUZANT <jean-laurent.duzant@xelians.fr> Date: Fri, 24 Feb 2023 17:19:12 +0100 Subject: [PATCH] FEAT #23832 TIME 0 replace databases to database, when current db is ko --- src/core/models/DatabasePDO.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/models/DatabasePDO.php b/src/core/models/DatabasePDO.php index 1600621cc7..dec10e46f7 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()); -- GitLab