Skip to content

Commit

Permalink
fix(formanswer): fatal error if Tag plugin is disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
btry committed Feb 1, 2022
1 parent 34b230f commit aed10dc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions inc/formanswer.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -1165,6 +1165,9 @@ public function parseTags(string $content, PluginFormcreatorTargetInterface $tar
$domain = PluginFormcreatorForm::getTranslationDomain($form->getID());

foreach ($this->questionFields as $questionId => $field) {
if (!$field->isPrerequisites()) {
continue;
}
$question = $field->getQuestion();
$name = '';
$value = '';
Expand Down

0 comments on commit aed10dc

Please sign in to comment.