From: Vincent Vanwaelscappel Date: Tue, 13 Aug 2019 17:51:56 +0000 (+0200) Subject: #2870 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=8d958e5efc7a52645214e8fe91a6af241939c793;p=cubist_cms-back.git #2870 --- diff --git a/src/resources/views/fields/select2_from_array.blade.php b/src/resources/views/fields/select2_from_array.blade.php index c9a64aa..351faef 100644 --- a/src/resources/views/fields/select2_from_array.blade.php +++ b/src/resources/views/fields/select2_from_array.blade.php @@ -1,5 +1,5 @@ @php - $is_null=null===old(square_brackets_to_dots($field['name'])) && null===$field['value']; + $is_null=null===old(square_brackets_to_dots($field['name'])) && (isset($field['value']) && null===$field['value']); @endphp