Fix bug.
This commit is contained in:
parent
6312d48e96
commit
8d47bf931d
|
@ -21,7 +21,7 @@ namespace :epaper do
|
|||
emails += paper.other_emails_ids
|
||||
emails.uniq!
|
||||
emails_valid = emails.select do |email|
|
||||
tmp = (email_format=~email)
|
||||
tmp = (email_format=~email.to_s)
|
||||
tmp==0 ? true : false
|
||||
end
|
||||
emails_invalid = emails - emails_valid
|
||||
|
|
Loading…
Reference in New Issue