mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-12 22:22:32 +01:00
Refactor contact variables in RFF mount method
This commit is contained in:
parent
e9be90779a
commit
aac43793b5
@ -58,9 +58,9 @@ class RFF extends Component
|
||||
|
||||
public function mount(): void
|
||||
{
|
||||
$this->contact_first_name = $this->context['contact']['first_name'];
|
||||
$this->contact_last_name = $this->context['contact']['last_name'];
|
||||
$this->contact_email = $this->context['contact']['email'];
|
||||
$this->contact_first_name = $this->context['contact']['first_name'] ?? '';
|
||||
$this->contact_last_name = $this->context['contact']['last_name'] ?? '';
|
||||
$this->contact_email = $this->context['contact']['email'] ?? '';
|
||||
}
|
||||
|
||||
public function render()
|
||||
|
Loading…
Reference in New Issue
Block a user