- Added CSRF through form processing

This commit is contained in:
Dave Mc Nicoll committed 2022-02-25 15:33:40 +00:00
1 parent 97f1f67af1
commit 83fee32ac0
4 files changed
+31 -31

No files matched your search

+1 -1
View File
@@ -43,7 +43,7 @@ class UiInput extends UiElement implements Extension {
}
if ($attributes['class'] ?? false) {
$attributes['class'] .= " {$this->attributes['class']}";
$attributes['class'] = implode(" ", array_merge((array) $attributes['class'], (array) $this->attributes['class']));
unset($this->attributes['class']);
}