Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/snipe/snipe-it
Browse files Browse the repository at this point in the history
  • Loading branch information
snipe committed Feb 13, 2022
2 parents 8624531 + db0c0e7 commit 885ab64
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/Http/Controllers/SuppliersController.php
Expand Up @@ -184,6 +184,7 @@ public function destroy($supplierId)
*/
public function show($supplierId = null)
{
$this->authorize('view', Supplier::class);
$supplier = Supplier::find($supplierId);

if (isset($supplier->id)) {
Expand Down

0 comments on commit 885ab64

Please sign in to comment.