Skip to content

A free open source IT asset/license management system

Avoid returning null from method that should return a boolean

Marcus Mooreb5b881627901
diff --git a/app/Models/Asset.php b/app/Models/Asset.php
index 002f238297..d5567caf03 100644
--- a/app/Models/Asset.php
+++ b/app/Models/Asset.php
@@ -963,6 +963,7 @@ class Asset extends Depreciable
return $this->model->category->require_acceptance;
}
+ return false;
}