Commit dfd4dde8 authored by Marco Pivetta's avatar Marco Pivetta

#714 - stripping tabs (spaces instead)

parent 4d536e8e
......@@ -38,9 +38,10 @@ class Driver extends AbstractPostgreSQLDriver
public function connect(array $params, $username = null, $password = null, array $driverOptions = array())
{
try {
if (PHP_VERSION_ID >= 50600 && !isset($driverOptions[PDO::PGSQL_ATTR_DISABLE_PREPARES])) {
if (PHP_VERSION_ID >= 50600 && ! isset($driverOptions[PDO::PGSQL_ATTR_DISABLE_PREPARES])) {
$driverOptions[PDO::PGSQL_ATTR_DISABLE_PREPARES] = true;
}
return new PDOConnection(
$this->_constructPdoDsn($params),
$username,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment