All pastes #373666 Raw Edit

halkeye

public text v1 · immutable
#373666 ·published 2007-02-26 22:44 UTC
rendered paste body
Index: Doctrine/Relation.php
===================================================================
--- Doctrine/Relation.php>--(revision 1137)
+++ Doctrine/Relation.php>--(working copy)
@@ -162,7 +162,7 @@
      */
     final public function getTable()
     {
-        return Doctrine_Manager::connection()->getTable($this->definition['class']);
+        return Doctrine_Manager::getInstance()->getConnectionForComponent($this->definition['class'])->getTable($this->definition['class']);^M
     }
     /**
      * getLocal