diff --git a/app/Http/Controllers/PagesController.php b/app/Http/Controllers/PagesController.php index b27f7ed..93291f7 100644 --- a/app/Http/Controllers/PagesController.php +++ b/app/Http/Controllers/PagesController.php @@ -406,7 +406,7 @@ class PagesController extends Controller $vehicle_insert = Vehicles::updateOrCreate( [ - 'owner' => $bidder_insert->id, + 'owner' => $bidder_assigned_number, ], [ 'year' => $year,