mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Updated count
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
f984b45de2
commit
19bd99d159
|
@ -338,7 +338,7 @@ class Accessory extends SnipeModel
|
||||||
*/
|
*/
|
||||||
public function numCheckedOut()
|
public function numCheckedOut()
|
||||||
{
|
{
|
||||||
return $this->users_count ?? $this->users->count();
|
return $this->users_count ?? $this->users()->count();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue