From 587a787b5d3b2cf54eb16f9f231027baab128838 Mon Sep 17 00:00:00 2001 From: snipe Date: Wed, 30 Aug 2023 15:50:28 +0100 Subject: [PATCH] Fixed bug introduced in #13528 Signed-off-by: snipe --- resources/views/models/edit.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/models/edit.blade.php b/resources/views/models/edit.blade.php index 4bb5cac6c0..6145ef094b 100755 --- a/resources/views/models/edit.blade.php +++ b/resources/views/models/edit.blade.php @@ -35,7 +35,7 @@ -@livewire('custom-field-set-default-values-for-model',["model_id" => ($item->id) ? $item->id : $model_id]) +@livewire('custom-field-set-default-values-for-model',["model_id" => $item->id ?? $model_id ?? null ]) @include ('partials.forms.edit.notes') @include ('partials.forms.edit.requestable', ['requestable_text' => trans('admin/models/general.requestable')])