- Quickfix on attributes
This commit is contained in:
1 parent
0d9db0470e
commit
362184f81f
1 file changed
+1
-1
@@ -292,7 +292,7 @@ class UiElement implements \ArrayAccess, \Iterator, \JsonSerializable {
|
||||
|
||||
default:
|
||||
if ( is_numeric($key) ) {
|
||||
$this->attributes[] = $value;
|
||||
$this->attributes[$key] = $value;
|
||||
}
|
||||
elseif ( is_array($this->attributes[$key] ?? false) ) {
|
||||
$this->attributes[$key] = array_replace($value, $this->attributes[$key]);
|
||||
|
||||
Reference in new issue
Block a user