diff --git a/lib/Cake/Model/Model.php b/lib/Cake/Model/Model.php index b79db9347..970b63b12 100644 --- a/lib/Cake/Model/Model.php +++ b/lib/Cake/Model/Model.php @@ -1140,7 +1140,9 @@ class Model extends Object implements CakeEventListener { )); } - $this->_schema = null; + if ($sources) { + $this->_schema = null; + } } $this->table = $this->useTable = $tableName;