From ba4f592c4194892b58e4b5da23570e99f38b72a0 Mon Sep 17 00:00:00 2001
From: Frank Rodgers <frodgers@redcom.com>
Date: Thu, 22 Oct 2009 10:43:02 -0400
Subject: [PATCH] Added bug_id to EVENT_BUGNOTE_DATA. Needed to store bugnote text in an Array indexed by bug_id


diff --git a/core/bugnote_api.php b/core/bugnote_api.php
index f60a494..0c426e8 100644
--- a/core/bugnote_api.php
+++ b/core/bugnote_api.php
@@ -148,7 +148,7 @@ function bugnote_add( $p_bug_id, $p_bugnote_text, $p_time_tracking = '0:00', $p_
 	$t_bugnote_text = $p_bugnote_text;
 
 	# Event integration
-	$t_bugnote_text = event_signal( 'EVENT_BUGNOTE_DATA', $t_bugnote_text );
+	$t_bugnote_text = event_signal( 'EVENT_BUGNOTE_DATA', $t_bugnote_text, $c_bug_id );
 
 	# insert bugnote text
 	$query = 'INSERT INTO ' . $t_bugnote_text_table . ' ( note ) VALUES ( ' . db_param() . ' )';
-- 
1.6.0.4

