From ef40c0492ff899ac46c501a397a3d49af049cd84 Mon Sep 17 00:00:00 2001 From: samw3 Date: Mon, 15 Oct 2007 21:05:20 +0000 Subject: [PATCH] getConnectionByTableName() returns Doctrine_Manager::connection() if table does not exist --- lib/Doctrine.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Doctrine.php b/lib/Doctrine.php index 7118a06b1..49aa109f7 100644 --- a/lib/Doctrine.php +++ b/lib/Doctrine.php @@ -501,6 +501,7 @@ final class Doctrine return $table->getConnection(); } } + return Doctrine_Manager::connection(); } /** * importSchema