We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce4c2ea commit 0136e8eCopy full SHA for 0136e8e
src/Html/Editor/Fields/Tags.php
@@ -46,7 +46,9 @@ public function escapeLabelHtml(bool $escape): static
46
*/
47
public function i18n(array $i18n): static
48
{
49
- $options = (array) $this->attributes['i18n'];
+ $options = isset($this->attributes['i18n'])
50
+ ? (array) $this->attributes['i18n']
51
+ : [];
52
53
$this->attributes['i18n'] = array_merge($options, $i18n);
54
0 commit comments