Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Commit

Permalink
take kduret feedback into account
Browse files Browse the repository at this point in the history
Co-Authored-By: Kevin Duret <kduret@centreon.com>
  • Loading branch information
adr-mo and kduret authored Mar 11, 2020
1 parent 4c12593 commit 066211c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions www/class/centreonACL.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -2066,9 +2066,7 @@ public function getServiceServiceGroupAclConf($sgId, $broker = null, $options =
}

// Making sure that the id provided is a real int
$option = array (
'default' => 0
);
$option = ['default' => 0];
$sgId = filter_var($sgId, FILTER_VALIDATE_INT, $option);

/*
Expand Down

0 comments on commit 066211c

Please sign in to comment.