Refactoring: replacement of `and` with `&&`

pull/6827/head
kgalli 10 years ago
parent fcf7d3552f
commit 56c5fa08ac
  1. 2
      app/controllers/meeting_contents_controller.rb

@ -90,7 +90,7 @@ class MeetingContentsController < ApplicationController
recipients_with_errors = []
@content.meeting.participants.each do |recipient|
begin
next if recipient.mail == author_mail and do_not_notify_author
next if recipient.mail == author_mail && do_not_notify_author
MeetingMailer.content_for_review(@content, @content_type, recipient.mail).deliver
rescue
recipients_with_errors << recipient

Loading…
Cancel
Save