[ticket/11744] spelling

PHPBB3-11744
This commit is contained in:
Nathaniel Guse 2013-07-26 15:44:49 -05:00
parent f2ad22439f
commit 7dd16f4148

View file

@ -138,7 +138,7 @@ class phpbb_database_test_connection_manager
catch (PDOException $e) catch (PDOException $e)
{ {
$cleaned_dsn = str_replace($this->config['dbpasswd'], '*password*', $dsn); $cleaned_dsn = str_replace($this->config['dbpasswd'], '*password*', $dsn);
throw new Exception("Unable do connect to $cleaned_dsn using PDO with error: {$e->getMessage()}"); throw new Exception("Unable to connect to $cleaned_dsn using PDO with error: {$e->getMessage()}");
} }
$this->pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); $this->pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);