Applying patch from 'Justas Butkus' to DboSource

Fixes issues where reconnect could issue warnings related to
array_merge.  Fixes #1182
This commit is contained in:
mark_story 2010-10-11 21:52:10 -04:00
parent 62161203f2
commit d56416456c

View file

@ -153,7 +153,7 @@ class DboSource extends DataSource {
* @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;