From a04f118593a0db2af25a1708c276664e6428f3da Mon Sep 17 00:00:00 2001 From: pookey Date: Sun, 15 Oct 2006 19:19:20 +0000 Subject: [PATCH] closes #168 --- lib/Doctrine/Table.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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