mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 05:04:07 -08:00
Fixed mismatched field/fieldset
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
b0f4015bb4
commit
c1d484b5df
|
@ -169,7 +169,7 @@ class CustomFieldsetsController extends Controller
|
|||
*/
|
||||
public function destroy($id)
|
||||
{
|
||||
$fieldset = CustomField::find($id);
|
||||
$fieldset = CustomFieldset::find($id);
|
||||
|
||||
$this->authorize('delete', $fieldset);
|
||||
|
||||
|
|
Loading…
Reference in a new issue