diff --git a/src/Helper/Fields/Field_Checkbox.php b/src/Helper/Fields/Field_Checkbox.php index e945bf6cb..fbb151cb5 100644 --- a/src/Helper/Fields/Field_Checkbox.php +++ b/src/Helper/Fields/Field_Checkbox.php @@ -104,17 +104,17 @@ public function form_data() { */ public function html( $value = '', $label = true ) { - $items = $this->value(); - $value = apply_filters( 'gfpdf_show_field_value', false, $this->field, $items ); /* Set to `true` to show a field's value instead of the label */ - $html = ''; + $items = $this->value(); + $show_value = apply_filters( 'gfpdf_show_field_value', false, $this->field, $items ); /* Set to `true` to show a field's value instead of the label */ + $html = ''; - /* Generate our drop down list */ + /* Generate our dropdown list */ if ( count( $items ) > 0 ) { $html = '