Skip to content

Commit

Permalink
fix(hostnamefield): value not read from answers
Browse files Browse the repository at this point in the history
  • Loading branch information
btry committed Jan 12, 2022
1 parent 04f5ff2 commit dc7ad7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/field/hostnamefield.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public function getValueForTargetText($domain, $richText): ?string {
}

public function hasInput($input): bool {
return false;
return isset($input['formcreator_field_' . $this->question->getID()]);
}

public function moveUploads() {
Expand Down

0 comments on commit dc7ad7b

Please sign in to comment.