Author: jwage
Date: 2008-09-08 22:45:43 +0100 (Mon, 08 Sep 2008)
New Revision: 4894
Modified:
branches/1.0/lib/Doctrine/Table.php
Log:
fixes #1420 Fixes segfault when combining column aggregation inheritance and
I18n behavior
Modified: branches/1.0/lib/Doctrine/Table.php
===================================================================
--- branches/1.0/lib/Doctrine/Table.php 2008-09-08 21:02:31 UTC (rev 4893)
+++ branches/1.0/lib/Doctrine/Table.php 2008-09-08 21:45:43 UTC (rev 4894)
@@ -314,7 +314,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
-~----------~----~----~----~------~----~------~--~---