Skip to content

Commit

Permalink
alternative fix for c81c7b7
Browse files Browse the repository at this point in the history
  • Loading branch information
splitbrain committed May 16, 2023
1 parent 5ed1e39 commit 8938356
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syntax.php
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ private function _handlepost($data) {
$isValid = $field->handle_post($file, $data['fields'], $index, $this->form_id);

} elseif($field->getFieldType() === 'fieldset' || !$field->hidden) {
$isValid = $field->handle_post($_POST['bureaucracy'][$index], $data['fields'], $index, $this->form_id);
$isValid = $field->handle_post($_POST['bureaucracy'][$index] ?? null, $data['fields'], $index, $this->form_id);
}

if(!$isValid) {
Expand Down

0 comments on commit 8938356

Please sign in to comment.