count in asset helper

This commit is contained in:
2019-07-08 01:20:40 -05:00
parent 3b6eab2b46
commit c26dbba312
+1 -1
View File
@@ -109,7 +109,7 @@ class AssetHelper {
* Update an existing asset based off the esi pull
*/
private function UpdateAsset($asset) {
$item = Asset::where([
$count = Asset::where([
'item_id' => $asset->item_id,
])->count();