From 7f0fd8b346bcc9d6a6e5cbf5dd20b39a541bc396 Mon Sep 17 00:00:00 2001 From: Denny Bresch Date: Wed, 14 Aug 2019 10:15:36 +0200 Subject: [PATCH] Fixed typo 'form_active'. --- app/controllers/first_steps_controller.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/controllers/first_steps_controller.rb b/app/controllers/first_steps_controller.rb index 47eebc78f..53a350ef1 100644 --- a/app/controllers/first_steps_controller.rb +++ b/app/controllers/first_steps_controller.rb @@ -19,9 +19,9 @@ class FirstStepsController < ApplicationController if Setting.get('chat') chat_active = true end - from_active = false + form_active = false if Setting.get('form_ticket_create') - from_active = true + form_active = true end twitter_active = false if Channel.where(area: 'Twitter::Account').count.positive? @@ -125,7 +125,7 @@ class FirstStepsController < ApplicationController }, { name: 'Online Forms', - checked: from_active, + checked: form_active, location: '#channels/form', }, ],