Skip to content

Commit

Permalink
Fix typo when parameters were moved to constructor config
Browse files Browse the repository at this point in the history
  • Loading branch information
mattab committed Sep 29, 2014
1 parent 7aa6dc5 commit a14ffdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/Tracker/Db/Pdo/Mysql.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public function connect()
// See #6296 why this is important in tracker
$config = array(
PDO::MYSQL_ATTR_FOUND_ROWS => true,
PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION,
PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION,
);

$this->connection = @new PDO($this->dsn, $this->username, $this->password, $config);
Expand Down

0 comments on commit a14ffdf

Please sign in to comment.