From 17787aa17325dd77ec39e6c3c2f68111c8b6aba8 Mon Sep 17 00:00:00 2001 From: njero Date: Fri, 10 Aug 2007 07:07:24 +0000 Subject: [PATCH] Need to include float in the list for length checks. In general this default for length should be removed downstream in validator but to be consistent --- lib/Doctrine/Table.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Doctrine/Table.php b/lib/Doctrine/Table.php index 3889018b9..63fd7cf27 100644 --- a/lib/Doctrine/Table.php +++ b/lib/Doctrine/Table.php @@ -705,6 +705,7 @@ class Doctrine_Table extends Doctrine_Configurable implements Countable switch ($type) { case 'string': case 'clob': + case 'float': case 'integer': case 'array': case 'object':