A free open source IT asset/license management system
Added `withInput()`
snipe512348cc5a39
diff --git a/app/Http/Controllers/Consumables/ConsumableCheckoutController.php b/app/Http/Controllers/Consumables/ConsumableCheckoutController.phpindex 620676dcbe..f7f2b6e54d 100644--- a/app/Http/Controllers/Consumables/ConsumableCheckoutController.php+++ b/app/Http/Controllers/Consumables/ConsumableCheckoutController.php@@ -56,7 +56,7 @@ class ConsumableCheckoutController extends Controller// Check if the user existsif (is_null($user = User::find($assigned_to))) {// Redirect to the consumable management page with error- return redirect()->route('consumables.checkout.show', $consumable)->with('error', trans('admin/consumables/message.checkout.user_does_not_exist'));+ return redirect()->route('consumables.checkout.show', $consumable)->with('error', trans('admin/consumables/message.checkout.user_does_not_exist'))->withInput();}// Update the consumable data