mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 05:34:06 -08:00
Fixed accessory clone typo
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
1c2f3cd552
commit
01ab360ef3
|
@ -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))) {
|
||||
|
|
Loading…
Reference in a new issue