Skip to content

Commit

Permalink
Fixed #9309: Problems with e-mail notifications about bugnotes [PATCH].
Browse files Browse the repository at this point in the history
  • Loading branch information
vboctor committed Jul 1, 2008
1 parent 16dc195 commit 08ffb98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/bugnote_api.php
Expand Up @@ -164,7 +164,7 @@ function bugnote_add ( $p_bug_id, $p_bugnote_text, $p_time_tracking = '0:00', $p
history_log_event_special( $p_bug_id, BUGNOTE_ADDED, bugnote_format_id( $t_bugnote_id ) );

# only send email if the text is not blank, otherwise, it is just recording of time without a comment.
if ( $p_send_email && !is_blank( $p_bugnote_text ) ) {
if ( !is_blank( $p_bugnote_text ) ) {
email_bugnote_add( $p_bug_id );
}
return $t_bugnote_id;
Expand Down

0 comments on commit 08ffb98

Please sign in to comment.