This commit is contained in:
parent
e42bb0e506
commit
2a99edae06
@ -668,7 +668,7 @@ abstract class Doctrine_Connection extends Doctrine_Configurable implements Coun
|
||||
}
|
||||
$class = $name . 'Table';
|
||||
|
||||
if (class_exists($class, false) && in_array('Doctrine_Table', class_parents($class))) {
|
||||
if (class_exists($class) && in_array('Doctrine_Table', class_parents($class))) {
|
||||
$table = new $class($name, $this);
|
||||
} else {
|
||||
$table = new Doctrine_Table($name, $this);
|
||||
|
Loading…
x
Reference in New Issue
Block a user