Browse Source

Follow up for issue #2029 - fixed check if sipgate_config already is filled.

Martin Edenhofer 6 years ago
parent
commit
89a46cf045
1 changed files with 1 additions and 1 deletions
  1. 1 1
      db/migrate/20180518000001_issue2029_sipgate_integration_enable.rb

+ 1 - 1
db/migrate/20180518000001_issue2029_sipgate_integration_enable.rb

@@ -4,7 +4,7 @@ class Issue2029SipgateIntegrationEnable < ActiveRecord::Migration[5.1]
     # return if it's a new setup
     return if !Setting.find_by(name: 'system_init_done')
 
-    return if Setting.get(name: 'sipgate_config').present?
+    return if Setting.get('sipgate_config').present?
 
     Setting.create_or_update(
       title: 'sipgate.io config',