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);