From 05826fdc9d735e8c0235dd5ba10c8efbe3a3f3b2 Mon Sep 17 00:00:00 2001
From: Chris Fitch <cfitch@redcom.com>
Date: Thu, 17 Sep 2009 11:20:55 -0400
Subject: [PATCH] Fix tag update history logging


diff --git a/core/tag_api.php b/core/tag_api.php
index 62f223d..c1d9dd2 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 );
 		}
 	}
 
-- 
1.6.0.4

