Skip to content

Commit

Permalink
fix: Undefined variable $true
Browse files Browse the repository at this point in the history
  • Loading branch information
live627 committed Feb 26, 2022
1 parent ef9d571 commit fd61441
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Class-CustomForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ public function setHtml()
: '',
$v
);
if ($true)
if (!$this->exists && $this->default == $v) || $this->value == $v)
$this->output_html = $v;
}

Expand Down Expand Up @@ -224,7 +224,7 @@ public function setHtml()
: '',
$v
);
if ($true)
if (!$this->exists && $this->default == $v) || $this->value == $v)
$this->output_html = $v;
}
$this->input_html .= '</fieldset>';
Expand Down

0 comments on commit fd61441

Please sign in to comment.