A free open source IT asset/license management system
Use === over ==
Marcus Mooreda4c877ed8b7
diff --git a/app/Http/Controllers/Api/ComponentsController.php b/app/Http/Controllers/Api/ComponentsController.phpindex 93ad101ff8..cd1e31f961 100644--- a/app/Http/Controllers/Api/ComponentsController.php+++ b/app/Http/Controllers/Api/ComponentsController.php@@ -340,7 +340,7 @@ class ComponentsController extends Controller// If the checked-in qty is exactly the same as the assigned_qty,// we can simply delete the associated components_assets record- if ($qty_remaining_in_checkout == 0) {+ if ($qty_remaining_in_checkout === 0) {DB::table('components_assets')->where('id', '=', $component_asset_id)->delete();}