Skip to content

Commit

Permalink
Merge branch '0.2.x-dev' of github.com:robmorgan/phinx into 0.2.x-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
robmorgan committed Dec 5, 2013
2 parents 8456846 + 5265cde commit 2c9227d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Phinx/Db/Adapter/MysqlAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public function connect()
// http://php.net/manual/en/ref.pdo-mysql.php#pdo-mysql.constants
foreach ($options as $key => $option) {
if (strpos($key, 'mysql_attr_') === 0) {
$driverOptions[] = array(constant('\PDO::' . strtoupper($key)) => $option);
$driverOptions[constant('\PDO::' . strtoupper($key))] = $option;
}
}

Expand Down

0 comments on commit 2c9227d

Please sign in to comment.