Skip to content

Commit

Permalink
Merge pull request #47 from lara-zeus/fix-department-id-0
Browse files Browse the repository at this point in the history
fix department when its not found
  • Loading branch information
atmonshi authored Jun 14, 2023
2 parents fff681c + 9163edb commit c438471
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/Livewire/ContactsForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public function mount($departmentSlug)

$this->form->fill(
[
'department_id' => $this->department->id ?? 0,
'department_id' => $this->department->id ?? null,
'status' => config('zeus-wind.default_status'),
]
);
Expand Down

0 comments on commit c438471

Please sign in to comment.