Index: trunk/extensions/CodeReview/backend/CodeRevision.php |
— | — | @@ -576,7 +576,7 @@ |
577 | 577 | // Give email notices to committer and commenters |
578 | 578 | global $wgCodeReviewENotif, $wgEnableEmail, $wgCodeReviewCommentWatcherEmail, |
579 | 579 | $wgCodeReviewCommentWatcherName, $wgUser; |
580 | | - if ( !$wgCodeReviewENotif && !$wgEnableEmail ) { |
| 580 | + if ( !$wgCodeReviewENotif || !$wgEnableEmail ) { |
581 | 581 | return; |
582 | 582 | } |
583 | 583 | |