A free open source IT asset/license management system
Removed parens
snipe6761ff44cc28
diff --git a/app/Models/Category.php b/app/Models/Category.phpindex 17e41da1fc..f21038bab0 100755--- a/app/Models/Category.php+++ b/app/Models/Category.php@@ -171,15 +171,15 @@ class Category extends SnipeModelswitch ($this->category_type) {case 'asset':- return $this->assets()->count();+ return $this->assets->count();case 'accessory':- return $this->accessories()->count();+ return $this->accessories->count();case 'component':- return $this->components()->count();+ return $this->components->count();case 'consumable':- return $this->consumables()->count();+ return $this->consumables->count();case 'license':- return $this->licenses()->count();+ return $this->licenses->count();default:return 0;}