A free open source IT asset/license management system
Sigh.
snipefacf1d42f7df
diff --git a/app/Models/Asset.php b/app/Models/Asset.phpindex e220f4940d..51dd6b8572 100644--- a/app/Models/Asset.php+++ b/app/Models/Asset.php@@ -231,7 +231,7 @@ class Asset extends Depreciable*/public function get_depreciation(){- if ($this->model) {+ if (($this->model) && ($this->model->depreciation)) {return $this->model->depreciation;}}