mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-24 12:17:05 -08:00
Fix incorrectly named parameter.
This commit is contained in:
parent
3db4480bba
commit
ad1db2c640
|
@ -96,7 +96,7 @@ class ManufacturersController extends Controller
|
|||
$this->authorize('update', Manufacturer::class);
|
||||
|
||||
// Check if the manufacturer exists
|
||||
if (!$item = Manufacturer::find($id)) {
|
||||
if (!$item = Manufacturer::find($manufacturerId)) {
|
||||
return redirect()->route('manufacturers.index')->with('error', trans('admin/manufacturers/message.does_not_exist'));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue