1
0
mirror of synced 2024-12-14 15:16:04 +03:00

Fix to notice.

This commit is contained in:
Jonathan.Wage 2007-10-18 21:57:38 +00:00
parent eb9842dcec
commit 9679e5531b

View File

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