Skip to content

Commit 885ab64

Browse files
committed
Merge branch 'master' of https://github.com/snipe/snipe-it
2 parents 8624531 + db0c0e7 commit 885ab64

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/Http/Controllers/SuppliersController.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ public function destroy($supplierId)
184184
*/
185185
public function show($supplierId = null)
186186
{
187+
$this->authorize('view', Supplier::class);
187188
$supplier = Supplier::find($supplierId);
188189

189190
if (isset($supplier->id)) {

0 commit comments

Comments
 (0)