mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
Fix contact for not logged in
This commit is contained in:
parent
e92fba18be
commit
817012042d
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ post '/contact' do
|
|||
end
|
||||
end
|
||||
|
||||
if current_site.supporter?
|
||||
if current_site && current_site.supporter?
|
||||
subject = "[Neocities Supporter Contact]: #{params[:subject]}"
|
||||
else
|
||||
subject = "[Neocities Contact]: #{params[:subject]}"
|
||||
|
|
Loading…
Add table
Reference in a new issue