0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-25 18:50:27 +01:00

fix custom_title check

Dieser Commit ist enthalten in:
Angus McLeod 2019-01-22 13:45:49 +11:00
Ursprung 3a5d3a0687
Commit a0b34f308b

Datei anzeigen

@ -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']]