mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
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:
parent
62161203f2
commit
d56416456c
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue