Skip to content

A free open source IT asset/license management system

Fixed error on asset creation

snipef0e6a5c90501
diff --git a/resources/views/partials/forms/edit/company-select.blade.php b/resources/views/partials/forms/edit/company-select.blade.php
index 70c75960a8..1c5d24a5bf 100644
--- a/resources/views/partials/forms/edit/company-select.blade.php
+++ b/resources/views/partials/forms/edit/company-select.blade.php
@@ -1,5 +1,5 @@
<!-- Company -->
-@if (($snipeSettings->full_multiple_companies_support=='1') && (!Auth::user())->isSuperUser())
+@if (($snipeSettings->full_multiple_companies_support=='1') && (!Auth::user()->isSuperUser()))
<!-- full company support is enabled and this user isn't a superadmin -->
<div class="form-group">
{{ Form::label($fieldname, $translated_name, array('class' => 'col-md-3 control-label')) }}