mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 01:32:36 +02:00
fix email check for child sites
This commit is contained in:
parent
c12db50b27
commit
18102eb76b
1 changed files with 1 additions and 1 deletions
|
@ -926,7 +926,7 @@ class Site < Sequel::Model
|
||||||
raise ArgumentError, "argument missing: #{a}" if args[a].nil?
|
raise ArgumentError, "argument missing: #{a}" if args[a].nil?
|
||||||
end
|
end
|
||||||
|
|
||||||
if email && can_email?(args[:col])
|
if owner.email && can_email?(args[:col])
|
||||||
EmailWorker.perform_async({
|
EmailWorker.perform_async({
|
||||||
from: FROM_EMAIL,
|
from: FROM_EMAIL,
|
||||||
to: owner.email,
|
to: owner.email,
|
||||||
|
|
Loading…
Add table
Reference in a new issue