Skip to content
Snippets Groups Projects
Commit 1680c4dc authored by Jean-Laurent DUZANT's avatar Jean-Laurent DUZANT Committed by Guillaume Heurtier
Browse files

FEAT #23832 TIME 0 replace databases to database, when current db is ko

parent a8a9df25
No related branches found
No related tags found
No related merge requests found
...@@ -80,7 +80,7 @@ class DatabasePDO ...@@ -80,7 +80,7 @@ class DatabasePDO
self::$pdo = new \PDO($dsn, $user, $password, $options); self::$pdo = new \PDO($dsn, $user, $password, $options);
break; break;
} catch (\PDOException $PDOException) { } catch (\PDOException $PDOException) {
if (!empty($loaderJson['databases'][$key + 1])) { if (!empty($loaderJson['database'][$key + 1])) {
continue; continue;
} else { } else {
throw new \Exception($PDOException->getMessage()); throw new \Exception($PDOException->getMessage());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment