From 04b3d84e4b7a5f6d8fb3c4557e503e407c8f89fb Mon Sep 17 00:00:00 2001 From: Russ Long Date: Sat, 20 Jul 2019 09:59:52 -0400 Subject: [PATCH] fix vehicle insert --- app/Http/Controllers/PagesController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,