Changeset 4974 for branches/0.11/lib

Show
Ignore:
Timestamp:
09/25/08 21:09:12 (4 months ago)
Author:
gnat
Message:

backported changeset 4894
Ticket: 1420

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/0.11/lib/Doctrine/Table.php

    r4726 r4974  
    303303            $ref = new ReflectionClass($parent); 
    304304 
    305             if ($ref->isAbstract()) { 
     305            if ($ref->isAbstract() || ! $class->isSubClassOf($parent) ) { 
    306306                continue; 
    307307            }