diff --git a/lib/Doctrine/Table.php b/lib/Doctrine/Table.php index 6b82f5870..8b27bc457 100644 --- a/lib/Doctrine/Table.php +++ b/lib/Doctrine/Table.php @@ -755,8 +755,10 @@ class Doctrine_Table extends Doctrine_Configurable implements Countable { if($this->data === false) return false; + + return $this->getRecord(); } - return $this->getRecord(); + return false; } /** * applyInheritance