This commit is contained in:
parent
e42bb0e506
commit
2a99edae06
1 changed files with 1 additions and 1 deletions
|
@ -668,7 +668,7 @@ abstract class Doctrine_Connection extends Doctrine_Configurable implements Coun
|
||||||
}
|
}
|
||||||
$class = $name . 'Table';
|
$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);
|
$table = new $class($name, $this);
|
||||||
} else {
|
} else {
|
||||||
$table = new Doctrine_Table($name, $this);
|
$table = new Doctrine_Table($name, $this);
|
||||||
|
|
Loading…
Add table
Reference in a new issue