3
0
mirror of https://github.com/snipe/snipe-it.git synced 2026-02-12 21:35:33 +00:00
This commit is contained in:
snipe
2022-02-13 12:01:59 -07:00

View File

@ -184,6 +184,7 @@ class SuppliersController extends Controller
*/
public function show($supplierId = null)
{
$this->authorize('view', Supplier::class);
$supplier = Supplier::find($supplierId);
if (isset($supplier->id)) {