This commit is contained in:
snipe 2022-02-13 12:01:59 -07:00
commit 885ab64c2e

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)) {