diff --git a/app/models/miq_provision_virt_workflow.rb b/app/models/miq_provision_virt_workflow.rb index f61f9460ce4..ae9643595e1 100644 --- a/app/models/miq_provision_virt_workflow.rb +++ b/app/models/miq_provision_virt_workflow.rb @@ -155,7 +155,7 @@ def set_on_vm_id_changed f[:notes] = vm_description when :vlan get_field(:vlan) - vlan ||= @values[fn].first + vlan ||= Array(@values[fn]).first set_value_from_list(fn, f, vlan, allowed_vlans) end end