FaaPz / PDO

Just another PDO database library
MIT License
316 stars 103 forks source link

Overwrite default options #57

Closed sincilite closed 7 years ago

sincilite commented 8 years ago

Referenced in https://github.com/FaaPz/Slim-PDO/issues/11

It's not possible to overwrite any options set in Database::getDefaultOptions() when passing the $options array into the constructor.

Line 31 should be:

$options = $options + $this->getDefaultOptions();

FaaPz commented 7 years ago

Merged #59. 😉