mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
fix for site instance var
This commit is contained in:
parent
6ddef6aa59
commit
6008e2be4e
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ post '/create' do
|
|||
return {result: 'error'}.to_json
|
||||
end
|
||||
|
||||
if defined?(BlackBox.create_disabled?) && BlackBox.create_disabled?(site, request)
|
||||
if defined?(BlackBox.create_disabled?) && BlackBox.create_disabled?(@site, request)
|
||||
flash[:error] = 'Site creation is currently unavailable, please try again later.'
|
||||
return {result: 'error'}.to_json
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue