diff --git a/lib/Doctrine/Table.php b/lib/Doctrine/Table.php index 89a0fb718..fe74b1cc7 100644 --- a/lib/Doctrine/Table.php +++ b/lib/Doctrine/Table.php @@ -701,11 +701,11 @@ class Doctrine_Table extends Doctrine_Configurable implements Countable if ($length == null && - $type === 'string' || - $type === 'clob' || - $type === 'integer' || - $type === 'blob' || - $type === 'gzip') { + ($type === 'string' || + $type === 'clob' || + $type === 'integer' || + $type === 'blob' || + $type === 'gzip')) { $length = 2147483647; }