Skip to content

Commit

Permalink
fix(formanswer): bad parenthesis nest and bad oject used
Browse files Browse the repository at this point in the history
  • Loading branch information
btry committed May 6, 2022
1 parent b37e1c0 commit 70b77d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inc/formanswer.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -526,9 +526,9 @@ public function showForm($ID, $options = []) {
echo '</h1>';

// Form Header
if (!empty($this->fields['content'] || !empty($form->getExtraHeader()))) {
if (!empty($form->fields['content']) || !empty($form->getExtraHeader())) {
echo '<div class="form_header">';
echo html_entity_decode($this->fields['content']);
echo html_entity_decode($form->fields['content']);
echo html_entity_decode($form->getExtraHeader());
echo '</div>';
}
Expand Down

0 comments on commit 70b77d3

Please sign in to comment.