Commit ab597cdf authored by Jonathan.Wage's avatar Jonathan.Wage

Fixes [ticket:500]

parent bea129db
...@@ -957,7 +957,7 @@ abstract class Doctrine_Connection extends Doctrine_Configurable implements Coun ...@@ -957,7 +957,7 @@ abstract class Doctrine_Connection extends Doctrine_Configurable implements Coun
} }
$class = $name . 'Table'; $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); $table = new $class($name, $this, true);
} else { } else {
$table = new Doctrine_Table($name, $this, true); $table = new Doctrine_Table($name, $this, true);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment