Author: gnat
Date: 2008-09-25 21:09:12 +0100 (Thu, 25 Sep 2008)
New Revision: 4974

Modified:
   branches/0.11/lib/Doctrine/Table.php
Log:
backported changeset 4894
Ticket: 1420


Modified: branches/0.11/lib/Doctrine/Table.php
===================================================================
--- branches/0.11/lib/Doctrine/Table.php        2008-09-25 18:52:33 UTC (rev 
4973)
+++ branches/0.11/lib/Doctrine/Table.php        2008-09-25 20:09:12 UTC (rev 
4974)
@@ -302,7 +302,7 @@
             }
             $ref = new ReflectionClass($parent);
 
-            if ($ref->isAbstract()) {
+            if ($ref->isAbstract() || ! $class->isSubClassOf($parent) ) {
                 continue;
             }
             $parentTable = $this->_conn->getTable($parent);


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"doctrine-svn" group.
 To post to this group, send email to [email protected]
 To unsubscribe from this group, send email to [EMAIL PROTECTED]
 For more options, visit this group at 
http://groups.google.co.uk/group/doctrine-svn?hl=en-GB
-~----------~----~----~----~------~----~------~--~---

Reply via email to