From: <gi...@ma...> - 2011-01-27 15:42:05
|
The branch, master has been updated via cb7554aa1c3ef3c2dd3dcef6d3fb55ad37c1be2c (commit) from 3f6564dfa92b0d88d6c8857ca269b6e0fdb670a0 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit cb7554aa1c3ef3c2dd3dcef6d3fb55ad37c1be2c Author: Daryn Warriner <da...@ii...> Date: Thu Jan 27 09:41:08 2011 -0600 Fix custom field validation error. Missing space and maxlength is not a valid attribute for textarea. ----------------------------------------------------------------------- Summary of changes: core/cfdefs/cfdef_standard.php | 7 +------ 1 files changed, 1 insertions(+), 6 deletions(-) ----------------------------------------------------------------------- commit cb7554aa1c3ef3c2dd3dcef6d3fb55ad37c1be2c Author: Daryn Warriner <da...@ii...> Date: Thu Jan 27 09:41:08 2011 -0600 Fix custom field validation error. Missing space and maxlength is not a valid attribute for textarea. diff --git a/core/cfdefs/cfdef_standard.php b/core/cfdefs/cfdef_standard.php index e3034a0..d11c5ef 100644 --- a/core/cfdefs/cfdef_standard.php +++ b/core/cfdefs/cfdef_standard.php @@ -315,12 +315,7 @@ function cfdef_input_textbox($p_field_def, $t_custom_field_value) { function cfdef_input_textarea($p_field_def, $t_custom_field_value) { echo '<textarea ', helper_get_tab_index(), ' name="custom_field_' . $p_field_def['id'] . '"'; - if( 0 < $p_field_def['length_max'] ) { - echo ' maxlength="' . $p_field_def['length_max'] . '"'; - } else { - echo ' maxlength="255"'; - } - echo 'cols="70" rows="8">' . $t_custom_field_value .'</textarea>'; + echo ' cols="70" rows="8">' . $t_custom_field_value .'</textarea>'; } /** ----------------------------------------------------------------------- -- Mantis Bug Tracker |