Skip to content

Commit fea64ed

Browse files
committed
lower case option names, not parameters. Closes #94
1 parent 459e20f commit fea64ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Ifsnop/Mysqldump/Mysqldump.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ private function parseDsn($dsn)
217217

218218
foreach(explode(";", $dsn) as $kvp) {
219219
$kvpArr = explode("=", $kvp);
220-
$this->dsnArray[$kvpArr[0]] = strtolower($kvpArr[1]);
220+
$this->dsnArray[strtolower($kvpArr[0])] = $kvpArr[1];
221221
}
222222

223223
if (empty($this->dsnArray['host']) &&

0 commit comments

Comments
 (0)