From: <vb...@us...> - 2004-02-25 00:06:43
|
Update of /cvsroot/mantisbt/mantisbt/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29493/core Modified Files: custom_field_api.php Log Message: Fixed #3598: bug history: consuming custom fields or not? core/custom_fields_api.php - When a custom field value was set for the first time (i.e. not changed) it was not added to the history. Index: custom_field_api.php =================================================================== RCS file: /cvsroot/mantisbt/mantisbt/core/custom_field_api.php,v retrieving revision 1.23 retrieving revision 1.24 diff -u -d -r1.23 -r1.24 --- custom_field_api.php 6 Feb 2004 10:05:38 -0000 1.23 +++ custom_field_api.php 24 Feb 2004 23:51:38 -0000 1.24 @@ -776,6 +776,7 @@ VALUES ( '$c_field_id', '$c_bug_id', '$c_value' )"; db_query( $query ); + history_log_event_direct( $c_bug_id, $t_name, '', $p_value); } custom_field_clear_cache( $p_field_id ); |