From a0b34f308b6a6de1f8a17734ed6e9cc8f329c731 Mon Sep 17 00:00:00 2001 From: Angus McLeod Date: Tue, 22 Jan 2019 13:45:49 +1100 Subject: [PATCH] fix custom_title check --- lib/builder.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/builder.rb b/lib/builder.rb index 6828980a..4340e89c 100644 --- a/lib/builder.rb +++ b/lib/builder.rb @@ -251,7 +251,7 @@ class CustomWizard::Builder end def create_topic(user, action, data) - if action['custom_title'] + if action['custom_title_enabled'] title = CustomWizard::Builder.fill_placeholders(action['custom_title'], user, data) else title = data[action['title']]