mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +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?
|
||||
end
|
||||
|
||||
if email && can_email?(args[:col])
|
||||
if owner.email && can_email?(args[:col])
|
||||
EmailWorker.perform_async({
|
||||
from: FROM_EMAIL,
|
||||
to: owner.email,
|
||||
|
|
Loading…
Add table
Reference in a new issue