Loading src/Event/RulesWebformEventBase.php +1 −1 Changes for src/Event/RulesWebformEventBase.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -70,7 +70,7 @@ class RulesWebformEventBase extends Event { else { // Exclude wizard pages and buttons from the list of elements. if (($options['#type'] != 'webform_wizard_page') && ($options['#type'] != "webform_actions")) { $fields_definitions[$name] = (string) $options['#title']; $fields_definitions[$name] = (string) isset($options['#title']) ? $options['#title'] : ''; // If a user will submit an empty webform which contents composite element, // then value of this element can be 'NULL'. // Therefore prefill the array of webform_fields to prevent error message appearance. Loading Loading
src/Event/RulesWebformEventBase.php +1 −1 Changes for src/Event/RulesWebformEventBase.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -70,7 +70,7 @@ class RulesWebformEventBase extends Event { else { // Exclude wizard pages and buttons from the list of elements. if (($options['#type'] != 'webform_wizard_page') && ($options['#type'] != "webform_actions")) { $fields_definitions[$name] = (string) $options['#title']; $fields_definitions[$name] = (string) isset($options['#title']) ? $options['#title'] : ''; // If a user will submit an empty webform which contents composite element, // then value of this element can be 'NULL'. // Therefore prefill the array of webform_fields to prevent error message appearance. Loading