*** bugnote_api.php.orig	Sat May 31 00:53:29 2008
--- bugnote_api.php	Sat Jun 28 01:11:45 2008
***************
*** 164,170 ****
  		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 ) ) {
  			email_bugnote_add( $p_bug_id );
  		}
  		return $t_bugnote_id;
--- 164,170 ----
  		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 ( !is_blank( $p_bugnote_text ) ) {
  			email_bugnote_add( $p_bug_id );
  		}
  		return $t_bugnote_id;
