fixes #278
This commit is contained in:
parent
4774a789b5
commit
80093d7f76
@ -162,7 +162,9 @@ abstract class Doctrine_Relation
|
||||
*/
|
||||
final public function getTable()
|
||||
{
|
||||
return Doctrine_Manager::connection()->getTable($this->definition['class']);
|
||||
return Doctrine_Manager::getInstance()
|
||||
->getConnectionForComponent($this->definition['class'])
|
||||
->getTable($this->definition['class']);
|
||||
}
|
||||
/**
|
||||
* getLocal
|
||||
|
Loading…
Reference in New Issue
Block a user