Fixed accessory clone typo

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2023-08-15 20:39:09 +01:00
parent 1c2f3cd552
commit 01ab360ef3

View file

@ -126,7 +126,7 @@ class AccessoriesController extends Controller
public function getClone($accessoryId = null) public function getClone($accessoryId = null)
{ {
$this->authorize('create', Accesory::class); $this->authorize('create', Accessory::class);
// Check if the asset exists // Check if the asset exists
if (is_null($accessory_to_clone = Accessory::find($accessoryId))) { if (is_null($accessory_to_clone = Accessory::find($accessoryId))) {