Skip to content

Commit

Permalink
Added bug_id to EVENT_BUGNOTE_DATA. Needed to store bugnote text in a…
Browse files Browse the repository at this point in the history
…n Array indexed by bug_id

Signed-off-by: John Reese <jreese@leetcode.net>
  • Loading branch information
Frank Rodgers authored and amyreese committed Oct 22, 2009
1 parent 112122e commit b3753e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/bugnote_api.php
Expand Up @@ -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() . ' )';
Expand Down

0 comments on commit b3753e8

Please sign in to comment.