PluginProbe
Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form Builder / 3.3.1
Bit Form – Contact Form, Payment Forms, Multi Step Forms, Calculator & Custom Form Builder v3.3.1
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 2.10.1 All 138 releases
← All changes | includes/Frontend/Form/View/FieldHelpers.php +2 -2 3.1.03.3.1 View file →
@@ -56,15 +56,15 @@
56 56 public function getAtomicCls($element)
57 57 {
58 58 $meaningfulElementClass = "bf-{$this->getMeaningfullElementClass($element)}";
59 59 if (empty($this->_fld) && empty($this->_fk)) {
60 - if (property_exists($this->_form_atomic_Cls_map, ".$element")) {
60 + if (is_object($this->_form_atomic_Cls_map) && property_exists($this->_form_atomic_Cls_map, ".$element")) {
61 61 $getAtomicCls = $this->_form_atomic_Cls_map->{".$element"};
62 62 return implode(' ', $getAtomicCls) . " {$element} {$meaningfulElementClass}";
63 63 }
64 64 return "$element {$meaningfulElementClass}";
65 65 }
66 - if ('advanced-file-up' === $this->_fld->typ && isset($this->_form_atomic_Cls_map->{".$element"})) {
66 + if (isset($this->_fld->typ) && 'advanced-file-up' === $this->_fld->typ && isset($this->_form_atomic_Cls_map->{".$element"})) {
67 67 $getAtomicCls = $this->_form_atomic_Cls_map->{".$element"};
68 68 return implode(' ', $getAtomicCls) . " {$this->_fk}-{$element} {$meaningfulElementClass}";
69 69 }
70 70 $fieldElementCls = ".{$this->_fk}-{$element}";