From 01ab360ef32ce1e0d148f75b418ad22828f010c3 Mon Sep 17 00:00:00 2001 From: snipe Date: Tue, 15 Aug 2023 20:39:09 +0100 Subject: [PATCH] Fixed accessory clone typo Signed-off-by: snipe --- app/Http/Controllers/Accessories/AccessoriesController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/Accessories/AccessoriesController.php b/app/Http/Controllers/Accessories/AccessoriesController.php index 8221868f73..6ef6fb9933 100755 --- a/app/Http/Controllers/Accessories/AccessoriesController.php +++ b/app/Http/Controllers/Accessories/AccessoriesController.php @@ -126,7 +126,7 @@ class AccessoriesController extends Controller public function getClone($accessoryId = null) { - $this->authorize('create', Accesory::class); + $this->authorize('create', Accessory::class); // Check if the asset exists if (is_null($accessory_to_clone = Accessory::find($accessoryId))) {