From 9b7c743f48ea47a7fdf0837c786e1a97829b7e4b Mon Sep 17 00:00:00 2001 From: jackbravo Date: Fri, 24 Aug 2007 23:03:25 +0000 Subject: [PATCH] Prevent Doctrine from quoting two times table name, bug report by g00fy on irc --- lib/Doctrine/Export.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/Doctrine/Export.php b/lib/Doctrine/Export.php index 8cf3c3fcd..4db3e70d4 100644 --- a/lib/Doctrine/Export.php +++ b/lib/Doctrine/Export.php @@ -228,8 +228,7 @@ class Doctrine_Export extends Doctrine_Connection_Module } } - $name = $this->conn->quoteIdentifier($name, true); - $query = 'CREATE TABLE ' . $name . ' (' . $queryFields; + $query = 'CREATE TABLE ' . $this->conn->quoteIdentifier($name, true) . ' (' . $queryFields; $check = $this->getCheckDeclaration($fields);