Bugfix, if the content is NULL, insert an empty string when creating the element.
This commit is contained in:
parent
4e918d21f1
commit
d37f35b747
1 changed files with 1 additions and 1 deletions
|
|
@ -107,7 +107,7 @@ return new class extends Module
|
|||
$content_element = $element[self::OPTIONS_CONTENT];
|
||||
$content = $this->createAndSetupElement(
|
||||
$content_element[self::OPTIONS_ELEMENT],
|
||||
$content_element[self::OPTIONS_CONTENT],
|
||||
$content_element[self::OPTIONS_CONTENT] ?? '',
|
||||
array_diff_key($content_element, $this->non_attribute_options)
|
||||
);
|
||||
$form_element = $this->createAndSetupElement(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue