Skip to content

Commit

Permalink
Fixed #3598: bug history: consuming custom fields or not?
Browse files Browse the repository at this point in the history
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.


git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@2382 f5dc347c-c33d-0410-90a0-b07cc1902cb9
  • Loading branch information
vboctor committed Feb 24, 2004
1 parent 5bb33cd commit a7dbb61
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/custom_field_api.php
Expand Up @@ -6,7 +6,7 @@
# See the README and LICENSE files for details

# --------------------------------------------------------
# $Id: custom_field_api.php,v 1.23 2004-02-06 10:05:38 vboctor Exp $
# $Id: custom_field_api.php,v 1.24 2004-02-24 23:51:38 vboctor Exp $
# --------------------------------------------------------

$t_core_dir = dirname( __FILE__ ).DIRECTORY_SEPARATOR;
Expand Down Expand Up @@ -776,6 +776,7 @@ function custom_field_set_value( $p_field_id, $p_bug_id, $p_value ) {
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 );
Expand Down
1 change: 1 addition & 0 deletions doc/ChangeLog
Expand Up @@ -26,6 +26,7 @@ Mantis ChangeLog
* Fix #3579: in the german language file strings_german.txt $s_reset_request_msg has a little problem.
* Fix #3594: Incorrect encoding for Turkish localization.
* Fix #3597: custom fields names are not translaten in email (thanks to yarik123).
* Fix #3598: bug history: consuming custom fields or not?
* Languages: Added Lithuanian - Updated Norwegian localisation.
* Mantis website moved to http://www.mantisbt.org

Expand Down

0 comments on commit a7dbb61

Please sign in to comment.