Skip to content

A free open source IT asset/license management system

Fixed default

snipe459c95064e36
diff --git a/app/Models/Category.php b/app/Models/Category.php
index 836f28e8e4..b00e5a7bf9 100755
--- a/app/Models/Category.php
+++ b/app/Models/Category.php
@@ -179,7 +179,8 @@ class Category extends SnipeModel
return $this->consumables()->count();
case 'license':
return $this->licenses()->count();
- default: 0;
+ default:
+ return 0;
}
}