From: <pri...@us...> - 2007-11-14 23:22:18
|
Revision: 4753 http://mantisbt.svn.sourceforge.net/mantisbt/?rev=4753&view=rev Author: prichards Date: 2007-11-14 15:22:15 -0800 (Wed, 14 Nov 2007) Log Message: ----------- 0008518: Enumerated Custom Field limited to 255 0005258: Be able to enter more than 255 characters when adding a new custom field Modified Paths: -------------- trunk/mantisbt/admin/schema.php trunk/mantisbt/manage_custom_field_edit_page.php Modified: trunk/mantisbt/admin/schema.php =================================================================== --- trunk/mantisbt/admin/schema.php 2007-11-11 20:09:00 UTC (rev 4752) +++ trunk/mantisbt/admin/schema.php 2007-11-14 23:22:15 UTC (rev 4753) @@ -370,4 +370,5 @@ ", Array( 'mysql' => 'TYPE=MyISAM', 'pgsql' => 'WITHOUT OIDS' ) ) ); $upgrade[] = Array('AlterColumnSQL', Array( config_get_global( 'mantis_user_pref_table' ), "redirect_delay I NOTNULL DEFAULT 0" ) ); +$upgrade[] = Array('AlterColumnSQL', Array( config_get_global( 'mantis_custom_field_table' ), "possible_values X NOTNULL DEFAULT \" '' \"" ) ); ?> Modified: trunk/mantisbt/manage_custom_field_edit_page.php =================================================================== --- trunk/mantisbt/manage_custom_field_edit_page.php 2007-11-11 20:09:00 UTC (rev 4752) +++ trunk/mantisbt/manage_custom_field_edit_page.php 2007-11-14 23:22:15 UTC (rev 4753) @@ -78,7 +78,7 @@ <?php echo lang_get( 'custom_field_possible_values' ) ?> </td> <td> - <input type="text" name="possible_values" size="32" maxlength="255" value="<?php echo string_attribute( $t_definition['possible_values'] ) ?>" /> + <input type="text" name="possible_values" size="32" value="<?php echo string_attribute( $t_definition['possible_values'] ) ?>" /> </td> </tr> <tr <?php echo helper_alternate_class() ?>> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |