This commit is contained in:
BoHung Chiu 2022-12-01 13:04:09 +08:00
parent 6312d48e96
commit 8d47bf931d
1 changed files with 1 additions and 1 deletions

View File

@ -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