mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 21:24:13 -08:00
Fixed default
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
0b0fdd8aa5
commit
459c95064e
|
@ -179,7 +179,8 @@ class Category extends SnipeModel
|
||||||
return $this->consumables()->count();
|
return $this->consumables()->count();
|
||||||
case 'license':
|
case 'license':
|
||||||
return $this->licenses()->count();
|
return $this->licenses()->count();
|
||||||
default: 0;
|
default:
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue