Skip to content

Commit

Permalink
Applying patch from 'Justas Butkus' to DboSource
Browse files Browse the repository at this point in the history
Fixes issues where reconnect could issue warnings related to
array_merge.  Fixes #1182
  • Loading branch information
markstory committed Oct 12, 2010
1 parent 6216120 commit d564164
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cake/libs/model/datasources/dbo_source.php
Expand Up @@ -153,7 +153,7 @@ function __construct($config = null, $autoConnect = true) {
* @return boolean True on success, false on failure
* @access public
*/
function reconnect($config = null) {
function reconnect($config = array()) {
$this->disconnect();
$this->setConfig($config);
$this->_sources = null;
Expand Down

0 comments on commit d564164

Please sign in to comment.