Skip to content

A free open source IT asset/license management system

Use the same variable for fieldset closing tag

snipefb1998518676
diff --git a/resources/views/models/custom_fields_form_bulk_edit.blade.php b/resources/views/models/custom_fields_form_bulk_edit.blade.php
index b3bcc0a43c..194c033dd9 100644
--- a/resources/views/models/custom_fields_form_bulk_edit.blade.php
+++ b/resources/views/models/custom_fields_form_bulk_edit.blade.php
@@ -151,6 +151,6 @@
@endforeach
@endif
@endforeach
-@if (isset($models) && count($models) > 0)
+@if ($anyModelHasCustomFields > 0)
</fieldset>
@endif