From ae567c08db7720b516028a37eaddc33979aac28a Mon Sep 17 00:00:00 2001 From: snipe Date: Thu, 19 Oct 2017 03:44:01 -0700 Subject: [PATCH] =?UTF-8?q?Fixes=20incorrect=20language=20reference=20for?= =?UTF-8?q?=20consumables=20on=20checkout=20if=20consumable=20doesn?= =?UTF-8?q?=E2=80=99t=20exist?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Http/Controllers/ConsumablesController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/ConsumablesController.php b/app/Http/Controllers/ConsumablesController.php index ccc8a2e979..eb61431258 100644 --- a/app/Http/Controllers/ConsumablesController.php +++ b/app/Http/Controllers/ConsumablesController.php @@ -209,7 +209,7 @@ class ConsumablesController extends Controller public function getCheckout($consumableId) { if (is_null($consumable = Consumable::find($consumableId))) { - return redirect()->route('consumables.index')->with('error', trans('admin/consumables/message.not_found')); + return redirect()->route('consumables.index')->with('error', trans('admin/consumables/message.does_not_exist')); } $this->authorize('checkout', $consumable); return view('consumables/checkout', compact('consumable'))->with('users_list', Helper::usersList());