mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-15 20:47:46 +02:00
parent
f4ffa30ec4
commit
3d5fc14d5e
30 changed files with 1676 additions and 1249 deletions
|
|
@ -25,7 +25,7 @@ class Component implements ComponentInterface
|
|||
helper('viewcomponents');
|
||||
|
||||
// overwrite default attributes if set
|
||||
$this->attributes = array_merge($this->attributes, $attributes);
|
||||
$this->attributes = [...$this->attributes, ...$attributes];
|
||||
|
||||
if ($attributes !== []) {
|
||||
$this->hydrate($attributes);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue