1
0
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:
Benjamin Beganović 2024-03-15 01:31:07 +01:00
parent e9be90779a
commit aac43793b5

View File

@ -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()