Skip to content

Commit

Permalink
Fixed variable check.
Browse files Browse the repository at this point in the history
  • Loading branch information
jepf committed Jan 11, 2017
1 parent 09b05b2 commit 37bfbaf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ def up
# return if it's a new setup
return if !Setting.find_by(name: 'system_init_done')
setting = Setting.find_by(name: 'storage')
return if !Setting
return if !setting
setting.name = 'storage_provider'
setting.options = {
form: [
Expand Down

0 comments on commit 37bfbaf

Please sign in to comment.