From fd9cc78e585ce1d3804ebc2ff01ce65465d45596 Mon Sep 17 00:00:00 2001 From: Robert Barrow Date: Sat, 26 Oct 2019 23:51:44 +0100 Subject: [PATCH] FIX: avoid exception if no update data is available --- lib/builder.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/builder.rb b/lib/builder.rb index 6d698bd4..e0d88494 100644 --- a/lib/builder.rb +++ b/lib/builder.rb @@ -483,6 +483,8 @@ class CustomWizard::Builder user_field = pu['user_field'] key = pu['key'] + return if data[key].blank? + if user_field || custom_field custom_fields[user_field || custom_field] = data[key] else