From 6993485425f0e50eff7547f92fac6433173763c2 Mon Sep 17 00:00:00 2001 From: zYne Date: Thu, 11 Jan 2007 23:29:05 +0000 Subject: [PATCH] --- lib/Doctrine/Table.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Doctrine/Table.php b/lib/Doctrine/Table.php index b237f87fb..84a65a512 100644 --- a/lib/Doctrine/Table.php +++ b/lib/Doctrine/Table.php @@ -311,7 +311,7 @@ class Doctrine_Table extends Doctrine_Configurable implements Countable $this->conn->export->createTable($this->options['tableName'], $columns, array_merge($this->options, $options)); } catch(Doctrine_Connection_Exception $e) { // we only want to silence table already exists errors - if($e->getPortableCode !== Doctrine::ERR_ALREADY_EXISTS) { + if($e->getPortableCode() !== Doctrine::ERR_ALREADY_EXISTS) { throw $e; } }