From 141a95669d351ccaed268e8c244b26311578d901 Mon Sep 17 00:00:00 2001 From: zYne Date: Sat, 21 Jul 2007 11:34:07 +0000 Subject: [PATCH] --- lib/Doctrine/DataDict/Pgsql.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Doctrine/DataDict/Pgsql.php b/lib/Doctrine/DataDict/Pgsql.php index e43f87eca..bdde8344f 100644 --- a/lib/Doctrine/DataDict/Pgsql.php +++ b/lib/Doctrine/DataDict/Pgsql.php @@ -447,9 +447,9 @@ class Doctrine_DataDict_Pgsql extends Doctrine_DataDict $field['name'] = ''; } - $db_type = strtolower($field['type']); + $dbType = strtolower($field['type']); - switch ($db_type) { + switch ($dbType) { case 'smallint': case 'int2': $type[] = 'integer';