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

Commit

Permalink
fix(widgets): retrieve possibility to not select poller in pref (#11696)
Browse files Browse the repository at this point in the history
Refs: MON-14919
  • Loading branch information
kduret authored Sep 6, 2022
1 parent a3c5e11 commit 1c7dbfa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions www/class/centreonWidget/Params/Connector/Poller.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ public function getListValues($paramId)
static $tab;

if (! isset($tab)) {
$tab = [null => null];
$userACL = new CentreonACL($this->userId);
$isContactAdmin = $userACL->admin;
$request = 'SELECT SQL_CALC_FOUND_ROWS id, name FROM nagios_server ns';
Expand Down

0 comments on commit 1c7dbfa

Please sign in to comment.