From 9679e5531bb6ed2d180480ff058f9c43f0ebec95 Mon Sep 17 00:00:00 2001 From: "Jonathan.Wage" Date: Thu, 18 Oct 2007 21:57:38 +0000 Subject: [PATCH] Fix to notice. --- lib/Doctrine/Import/Schema.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Doctrine/Import/Schema.php b/lib/Doctrine/Import/Schema.php index 1b55d7653..95b8f0615 100644 --- a/lib/Doctrine/Import/Schema.php +++ b/lib/Doctrine/Import/Schema.php @@ -248,7 +248,7 @@ class Doctrine_Import_Schema $colDesc['type'] = isset($field['type']) ? (string) $field['type']:null; $colDesc['ptype'] = isset($field['ptype']) ? (string) $field['ptype']:(string) $colDesc['type']; $colDesc['length'] = isset($field['length']) ? (int) $field['length']:null; - $colDesc['length'] = isset($field['size']) ? (int) $field['size']:$field['length']; + $colDesc['length'] = isset($field['size']) ? (int) $field['size']:$colDesc['length']; $colDesc['fixed'] = isset($field['fixed']) ? (int) $field['fixed']:null; $colDesc['unsigned'] = isset($field['unsigned']) ? (bool) $field['unsigned']:null; $colDesc['primary'] = isset($field['primary']) ? (bool) (isset($field['primary']) && $field['primary']):null;