diff --git a/cake/libs/model/datasources/dbo_source.php b/cake/libs/model/datasources/dbo_source.php index 59cc33dc9..5c95c7010 100644 --- a/cake/libs/model/datasources/dbo_source.php +++ b/cake/libs/model/datasources/dbo_source.php @@ -89,6 +89,9 @@ class DboSource extends DataSource { * Constructor */ function __construct($config = null, $autoConnect = true) { + if (!isset($config['prefix'])) { + $config['prefix'] = ''; + } parent::__construct($config); $this->fullDebug = Configure::read() > 1;