mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
add missing defaults
This commit is contained in:
parent
7d9bc7adf2
commit
2fd38ca2f6
@ -42,6 +42,7 @@ class AccountComponent extends Component
|
|||||||
|
|
||||||
public function render()
|
public function render()
|
||||||
{
|
{
|
||||||
return render('gateways.rotessa.components.account', array_merge($this->attributes->getAttributes(), $this->defaults) );
|
|
||||||
|
return render('gateways.rotessa.components.account', $this->attributes->getAttributes() + $this->defaults);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -43,6 +43,6 @@ class AddressComponent extends Component
|
|||||||
|
|
||||||
public function render()
|
public function render()
|
||||||
{
|
{
|
||||||
return render('gateways.rotessa.components.address',array_merge( $this->defaults, $this->attributes->getAttributes() ) );
|
return render('gateways.rotessa.components.address', $this->attributes->getAttributes() + $this->defaults );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user