Skip to content

A free open source IT asset/license management system

Removed validation of > 0

snipeb094ebdd663c
diff --git a/app/Models/Depreciation.php b/app/Models/Depreciation.php
index 11ee82c16a..f6ed78649a 100755
--- a/app/Models/Depreciation.php
+++ b/app/Models/Depreciation.php
@@ -16,7 +16,7 @@ class Depreciation extends SnipeModel
// Declare the rules for the form validation
protected $rules = [
'name' => 'required|min:3|max:255|unique:depreciations,name',
- 'months' => 'required|max:3600|integer|gt:0',
+ 'months' => 'required|max:3600|integer',
];
/**