diff --git a/resources/views/licenses/view.blade.php b/resources/views/licenses/view.blade.php
index 7c99e8b739..aabbdb2608 100755
--- a/resources/views/licenses/view.blade.php
+++ b/resources/views/licenses/view.blade.php
@@ -290,12 +290,14 @@
- @if ($license->time_until_depreciated()->y > 0)
- {{ $license->time_until_depreciated()->y }}
- {{ trans('admin/hardware/form.years') }},
- @endif
- {{ $license->time_until_depreciated()->m }}
- {{ trans('admin/hardware/form.months') }}
+ @if ($license->time_until_depreciated())
+ @if ($license->time_until_depreciated()->y > 0)
+ {{ $license->time_until_depreciated()->y }}
+ {{ trans('admin/hardware/form.years') }},
+ @endif
+ {{ $license->time_until_depreciated()->m }}
+ {{ trans('admin/hardware/form.months') }}
+ @endif
@endif