From 8e16d9035fe3fa46262d83c166ef6b011914ad0f Mon Sep 17 00:00:00 2001
From: Robert Munteanu <robert.munteanu@gmail.com>
Date: Tue, 18 Aug 2009 01:02:56 +0300
Subject: [PATCH] Fix #10845: mc_issue_update erases Additional info and steps to reproduce

Read the additional_info and steps_to_reproduce from the proper source.
---
 api/soap/mc_issue_api.php |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/api/soap/mc_issue_api.php b/api/soap/mc_issue_api.php
index f3a6000..6909c5d 100644
--- a/api/soap/mc_issue_api.php
+++ b/api/soap/mc_issue_api.php
@@ -690,8 +690,8 @@ function mc_issue_update( $p_username, $p_password, $p_issue_id, $p_issue ) {
 	# $t_bug_data->profile_id;
 	# extended info
 	$t_bug_data->description = $t_description;
-	$t_bug_data->steps_to_reproduce = isset( $v_steps_to_reproduce ) ? $v_steps_to_reproduce : '';
-	$t_bug_data->additional_information = isset( $v_additional_information ) ? $v_additional_information : '';
+	$t_bug_data->steps_to_reproduce = isset( $t_steps_to_reproduce ) ? $t_steps_to_reproduce : '';
+	$t_bug_data->additional_information = isset( $t_additional_information ) ? $t_additional_information : '';
 
 	# submit the issue
 	$t_is_success = bug_update( $p_issue_id, $t_bug_data, true, false );
-- 
1.6.3.3

