From: <gi...@ma...> - 2010-10-12 22:37:07
|
The branch, master has been updated via 49bb5dfa017430018c0555260edfc1ab13f3bff2 (commit) from 57a8ee8d360fd49bdcd8aea6e9f78843eef1a5c0 (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 49bb5dfa017430018c0555260edfc1ab13f3bff2 Author: Daryn Warriner <da...@ii...> Date: Tue Oct 12 17:36:32 2010 -0500 Fix Bug #12441 - Unable to update custom fields due to missing function error. ----------------------------------------------------------------------- Summary of changes: core/custom_field_api.php | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) ----------------------------------------------------------------------- commit 49bb5dfa017430018c0555260edfc1ab13f3bff2 Author: Daryn Warriner <da...@ii...> Date: Tue Oct 12 17:36:32 2010 -0500 Fix Bug #12441 - Unable to update custom fields due to missing function error. diff --git a/core/custom_field_api.php b/core/custom_field_api.php index f776eae..8a49330 100644 --- a/core/custom_field_api.php +++ b/core/custom_field_api.php @@ -436,10 +436,6 @@ function custom_field_create( $p_name ) { * @access public */ function custom_field_update( $p_field_id, $p_def_array ) { - if( string_contains_scripting_chars( $p_def_array['name'] ) ) { - trigger_error( ERROR_CUSTOM_FIELD_INVALID_DEFINITION, ERROR ); - } - $c_field_id = db_prepare_int( $p_field_id ); $c_name = db_prepare_string( trim( $p_def_array['name'] ) ); $c_type = db_prepare_int( $p_def_array['type'] ); ----------------------------------------------------------------------- -- Mantis Bug Tracker |