Skip to content
Snippets Groups Projects

Fix 'Warning: Trying to access array offset on value of type null in...

1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -285,7 +285,7 @@ abstract class FormProcessorBaseHandler {
}
}
} else {
if ($fields[$key]['format'] == 'do_not_submit') {
if (isset($fields[$key]['format']) && $fields[$key]['format'] == 'do_not_submit') {
continue;
}
$element = $this->webformHandler->getWebform()->getElement($key);
Loading