]> _ Git - cubist_cms-back.git/commitdiff
#2870
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 13 Aug 2019 17:51:56 +0000 (19:51 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 13 Aug 2019 17:51:56 +0000 (19:51 +0200)
src/resources/views/fields/select2_from_array.blade.php

index c9a64aac6b03a95a6a28ad6312bfd8c4b3adce2b..351faef0d46ea3204f52eba7a9101d52ece0f494 100644 (file)
@@ -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
 
 <!-- select2 from array -->