diff --git a/lib/Cake/Model/Model.php b/lib/Cake/Model/Model.php index bfce2dd41..124bb394a 100644 --- a/lib/Cake/Model/Model.php +++ b/lib/Cake/Model/Model.php @@ -2895,6 +2895,10 @@ class Model extends Object implements CakeEventListener { return false; } + if ($this->useTable === false) { + return true; + } + return (bool)$this->find('count', array( 'conditions' => array( $this->alias . '.' . $this->primaryKey => $id