diff --git a/src/db/PDOConnection.php b/src/db/PDOConnection.php index cfdcce72..260938b8 100644 --- a/src/db/PDOConnection.php +++ b/src/db/PDOConnection.php @@ -587,7 +587,7 @@ public function connect(array $config = [], $linkNum = 0, $autoConnection = fals if ($autoConnection) { $this->db->log($e->getMessage(), 'error'); - return $this->connect($autoConnection, $linkNum); + return $this->connect([], $linkNum, false); } else { throw $e; }