diff --git a/lib/builder.rb b/lib/builder.rb index b0f46947..b6778fe6 100644 --- a/lib/builder.rb +++ b/lib/builder.rb @@ -104,7 +104,7 @@ class CustomWizard::Builder end if required_data = step_template['required_data'] - if !@submissions.last && required_data.length + if !@submissions.last && required_data.present? step.permitted = false next end