Index: custom_field_api.php =================================================================== RCS file: /cvsroot/mantisbt/mantisbt/core/custom_field_api.php,v retrieving revision 1.52 diff -u -r1.52 custom_field_api.php --- custom_field_api.php 24 May 2005 18:04:28 -0000 1.52 +++ custom_field_api.php 31 May 2005 11:28:15 -0000 @@ -6,7 +6,7 @@ # See the README and LICENSE files for details # -------------------------------------------------------- - # $Id$ + # $Id: custom_field_api.php,v 1.8 2005/05/31 11:21:41 tobias Exp $ # -------------------------------------------------------- $t_core_dir = dirname( __FILE__ ).DIRECTORY_SEPARATOR; @@ -1193,6 +1193,15 @@ case CUSTOM_FIELD_TYPE_FLOAT: case CUSTOM_FIELD_TYPE_EMAIL: case CUSTOM_FIELD_TYPE_STRING: + if ( $p_field_def['length_max'] > 100 ) { + echo ''; + break; + } + echo '