mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-12 22:37:28 -08:00
Fixed wrong variable name
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
e1b24bb763
commit
caf17d4f25
|
@ -85,7 +85,7 @@ class BulkAssetsController extends Controller
|
|||
$bulk_back_url = $request->session()->pull('bulk_back_url');
|
||||
|
||||
if (! $request->filled('ids') || count($request->input('ids')) <= 0) {
|
||||
return redirect($back_to_url)->with('warning', trans('No assets selected, so nothing was updated.'));
|
||||
return redirect($bulk_back_url)->with('error', trans('admin/hardware/message.update.no_assets_selected'));
|
||||
}
|
||||
|
||||
$assets = array_keys($request->input('ids'));
|
||||
|
|
Loading…
Reference in a new issue