PluginProbe
Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form Builder / V3.3.2
Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form Builder vV3.3.2
V3.3.2 3.3.1 V-3.3.0 3.2.2 3.2.1 3.2.0 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 V3.0.3 V3.0.2 -3.0.1 V_3.0.0 1.1.1 1.1.8 1.2 1.3 1.4 1.4.18 1.5.2 1.9 2.0 2.10.0 All 139 releases
← All changes | includes/Frontend/Form/View/Conversational/ConversationalTheme.php +7 -0 3.1.0 → V3.3.2 View file →
@@ -42,8 +42,11 @@
42 42 return '';
43 43 }
44 44
45 45 $field = $formViewInstance->fields($rowID);
46 + if (!is_object($field)) {
47 + return '';
48 + }
46 49 $field_name = $formViewInstance->getFieldName($rowID);
47 50 $form_atomic_Cls_map = $formViewInstance->getAtomicClaMap();
48 51 $error = $formViewInstance->getError($rowID);
49 52 $value = $formViewInstance->getValue($field_name, $rowID);
@@ -76,8 +79,12 @@
76 79 }
77 80
78 81 public function getField($field, $rowID, $field_name, $form_atomic_Cls_map, $error, $value, $formID)
79 82 {
83 + if (!is_object($field)) {
84 + return '';
85 + }
86 +
80 87 // Pro-only fields ship in the Bit Form Pro plugin. In the free plugin, we avoid rendering Pro implementations.
81 88 $proMissingHtml = '<div class="bf-pro-field-missing"> <!-- Require Bit Form Pro --> </div>';
82 89
83 90 switch ($field->typ) {