Merge pull request #366 from dimonzozo/master
Bug while sending notification email
This commit is contained in:
commit
3fca9fa2d3
@ -148,7 +148,7 @@ module Locomotive
|
|||||||
self.site.accounts.each do |account|
|
self.site.accounts.each do |account|
|
||||||
next unless self.content_type.public_submission_accounts.map(&:to_s).include?(account._id.to_s)
|
next unless self.content_type.public_submission_accounts.map(&:to_s).include?(account._id.to_s)
|
||||||
|
|
||||||
Locomotive::Notifications.new_content_entry(account, self).deliver
|
Locomotive::Notifications.new_content_entry(self, account).deliver
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user