Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Applying patch from 'Justas Butkus' to DboSource

Fixes issues where reconnect could issue warnings related to
array_merge.  Fixes #1182
  • Loading branch information...
commit 77f05ab464a8d2c38b5a4e25394c9e6a76286561 1 parent 5e454c1
Mark Story markstory authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  cake/libs/model/datasources/dbo_source.php
2  cake/libs/model/datasources/dbo_source.php
View
@@ -105,7 +105,7 @@ function __construct($config = null, $autoConnect = true) {
* @param array $config An array defining the new configuration settings
* @return boolean True on success, false on failure
*/
- function reconnect($config = null) {
+ function reconnect($config = array()) {
$this->disconnect();
$this->setConfig($config);
$this->_sources = null;
Please sign in to comment.
Something went wrong with that request. Please try again.