A free open source IT asset/license management system
Remove not existent variable 'id' in the redirect causing [ch10602] (#7732)
Ivan Nieto75bf8f3d58ac
diff --git a/app/Http/Controllers/ConsumablesController.php b/app/Http/Controllers/ConsumablesController.phpindex afe36a6e4a..f62d29fae1 100644--- a/app/Http/Controllers/ConsumablesController.php+++ b/app/Http/Controllers/ConsumablesController.php@@ -204,7 +204,7 @@ class ConsumablesController extends Controllerif (isset($consumable->id)) {return view('consumables/view', compact('consumable'));}- return redirect()->route('consumables.index')->with('error', trans('admin/consumables/message.does_not_exist', compact('id')));+ return redirect()->route('consumables.index')->with('error', trans('admin/consumables/message.does_not_exist'));}/**