View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0011066 | mantisbt | bugtracker | public | 2009-10-22 10:55 | 2019-08-23 04:34 |
Reporter | frodgers | Assigned To | jreese | ||
Priority | normal | Severity | feature | Reproducibility | N/A |
Status | closed | Resolution | fixed | ||
Product Version | 1.2.0rc2 | ||||
Fixed in Version | 1.2.0 | ||||
Summary | 0011066: Add bug_id parameter to EVENT_BUGNOTE_DATA | ||||
Description | I would like to have the bug_id passed via EVENT_BUGNOTE_DATA in core/bugnote_api.php. | ||||
Additional Information | I have implemented this on my Mantis installation and thought it would be useful to the community. I've attached my patch. | ||||
Tags | No tags attached. | ||||
Attached Files | bugnote_api.patch (863 bytes)
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 | ||||
MantisBT: master-1.2.x a4392b83 2009-10-22 10:43 Committer: jreese Details Diff |
Added bug_id to EVENT_BUGNOTE_DATA. Needed to store bugnote text in an Array indexed by bug_id Signed-off-by: John Reese <jreese@leetcode.net> |
Affected Issues 0011066 |
|
mod - core/bugnote_api.php | Diff File | ||
MantisBT: master b3753e8f 2009-10-22 10:43 Committer: jreese Details Diff |
Added bug_id to EVENT_BUGNOTE_DATA. Needed to store bugnote text in an Array indexed by bug_id Signed-off-by: John Reese <jreese@leetcode.net> |
Affected Issues 0011066 |
|
mod - core/bugnote_api.php | Diff File |