A free open source IT asset/license management system
Fixed hardware.bulkedit redirect
snipe61abb8d5cb65
diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.phpindex a2896e79ca..d68418ce59 100644--- a/app/Exceptions/Handler.php+++ b/app/Exceptions/Handler.php@@ -138,7 +138,7 @@ class Handler extends ExceptionHandlerif (in_array('bulkedit', $ids, true)) {$error_array = session()->get('bulk_asset_errors');return redirect()- ->route('hardware.bulkedit')+ ->route('hardware.index')->withErrors($error_array, 'bulk_asset_errors')->withInput();}diff --git a/app/Http/Controllers/Assets/BulkAssetsController.php b/app/Http/Controllers/Assets/BulkAssetsController.phpindex 1787450e6f..9f9f06c2ba 100644--- a/app/Http/Controllers/Assets/BulkAssetsController.php+++ b/app/Http/Controllers/Assets/BulkAssetsController.php@@ -544,7 +544,7 @@ class BulkAssetsController extends Controllersession()->put('bulk_asset_errors',$error_array);return redirect()- ->route('hardware.bulkedit')+ ->route('hardware.index')->with('bulk_asset_errors', $error_array)->withInput();}