diff --git a/cake/libs/model/datasources/dbo_source.php b/cake/libs/model/datasources/dbo_source.php index 56646256935..78d67404a28 100644 --- a/cake/libs/model/datasources/dbo_source.php +++ b/cake/libs/model/datasources/dbo_source.php @@ -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;