Fixed default
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
0b0fdd8aa5
commit
459c95064e
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue