Skip to content

Commit 70b77d3

Browse files
committed
fix(formanswer): bad parenthesis nest and bad oject used
1 parent b37e1c0 commit 70b77d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

inc/formanswer.class.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -526,9 +526,9 @@ public function showForm($ID, $options = []) {
526526
echo '</h1>';
527527

528528
// Form Header
529-
if (!empty($this->fields['content'] || !empty($form->getExtraHeader()))) {
529+
if (!empty($form->fields['content']) || !empty($form->getExtraHeader())) {
530530
echo '<div class="form_header">';
531-
echo html_entity_decode($this->fields['content']);
531+
echo html_entity_decode($form->fields['content']);
532532
echo html_entity_decode($form->getExtraHeader());
533533
echo '</div>';
534534
}

0 commit comments

Comments
 (0)