diff --git a/resources/views/hardware/view.blade.php b/resources/views/hardware/view.blade.php index df8ffae481..f2d0e81884 100755 --- a/resources/views/hardware/view.blade.php +++ b/resources/views/hardware/view.blade.php @@ -919,7 +919,7 @@ @endif - @if((isset($asset->assignedTo)) && ($asset->assignedTo->department!='')) + @if((isset($asset->assignedTo)) && ($asset->assignedTo->department))