diff --git a/lib/Doctrine/Connection.php b/lib/Doctrine/Connection.php index 4b518937f..36fa5d178 100644 --- a/lib/Doctrine/Connection.php +++ b/lib/Doctrine/Connection.php @@ -957,7 +957,7 @@ abstract class Doctrine_Connection extends Doctrine_Configurable implements Coun } $class = $name . 'Table'; - if (class_exists($class) && in_array('Doctrine_Table', class_parents($class))) { + if (class_exists($class, true) && in_array('Doctrine_Table', class_parents($class))) { $table = new $class($name, $this, true); } else { $table = new Doctrine_Table($name, $this, true);