Merged in bugfix/PMCORE-3242 (pull request #8065)

PMCORE-3242

Approved-by: Julio Cesar Laura Avendaño
This commit is contained in:
Andrea Adamczyk
2021-08-25 13:40:17 +00:00
committed by Julio Cesar Laura Avendaño

View File

@@ -83,8 +83,10 @@ class DbConnections
$result->next();
}
if (! in_array($row[2], $types)) {
$types[] = $row[2];
if (isset($row[2])) {
if (!in_array($row[2], $types)) {
$types[] = $row[2];
}
}
$this->connections = $connections;
return $connections;