From: <gi...@ma...> - 2009-09-22 07:23:56
|
The branch, master has been updated via ca9b4def6c0b4b20de0d611fe24b90d99ddb2f92 (commit) from 0fd12b74d50e0377829fc47b6ed6f4498458902d (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 ca9b4def6c0b4b20de0d611fe24b90d99ddb2f92 Author: Chris Fitch <cf...@re...> Date: Thu Sep 17 11:20:55 2009 -0400 Fix #10959: Incorrect variable name in tag_update function After a tag is renamed, associated reports are supposed to get an issue history entry indicating so. The history_log_event_special() call in tag_update() passes the wrong variable in for the tag name, causing a database error to occur. Signed-off-by: David Hicks <hic...@op...> ----------------------------------------------------------------------- Summary of changes: core/tag_api.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) ----------------------------------------------------------------------- commit ca9b4def6c0b4b20de0d611fe24b90d99ddb2f92 Author: Chris Fitch <cf...@re...> Date: Thu Sep 17 11:20:55 2009 -0400 Fix #10959: Incorrect variable name in tag_update function After a tag is renamed, associated reports are supposed to get an issue history entry indicating so. The history_log_event_special() call in tag_update() passes the wrong variable in for the tag name, causing a database error to occur. Signed-off-by: David Hicks <hic...@op...> diff --git a/core/tag_api.php b/core/tag_api.php index dcf3ed0..f73f94f 100644 --- a/core/tag_api.php +++ b/core/tag_api.php @@ -362,7 +362,7 @@ function tag_update( $p_tag_id, $p_name, $p_user_id, $p_description ) { $t_bugs = tag_get_bugs_attached( $p_tag_id ); foreach( $t_bugs as $t_bug_id ) { - history_log_event_special( $t_bug_id, TAG_RENAMED, $t_tag_name, $c_name ); + history_log_event_special( $t_bug_id, TAG_RENAMED, $t_tag_name, $p_name ); } } ----------------------------------------------------------------------- -- Mantis Bug Tracker |