Commit 80093d7f authored by zYne's avatar zYne

fixes #278

parent 4774a789
...@@ -162,7 +162,9 @@ abstract class Doctrine_Relation ...@@ -162,7 +162,9 @@ abstract class Doctrine_Relation
*/ */
final public function getTable() 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 * getLocal
......
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