From 3abadcd3bcd053015549e901546da07312d2f70f Mon Sep 17 00:00:00 2001 From: Russ Long Date: Sat, 29 Dec 2018 13:36:56 -0500 Subject: [PATCH] convert reprintreceipt --- 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 499db2f..56b3646 100644 --- a/app/Http/Controllers/PagesController.php +++ b/app/Http/Controllers/PagesController.php @@ -251,7 +251,7 @@ class PagesController extends Controller } else { $bidnum=$reprint_receipt_req->reprintbiddernum; $checkout_result = Checkout::where('bidder_num', '=', $bidnum) - ->get(); + ->first(); return redirect()->route('receiptpdf', ['checkout_id' => $checkout_result->checkout_id]); } }