From aa364298daae1a8e565b5ac5978049cdd686f4e6 Mon Sep 17 00:00:00 2001 From: Kevin Duret Date: Tue, 6 Sep 2022 13:42:32 +0200 Subject: [PATCH] fix(widgets): retrieve possibility to not select poller in pref (#11696) Refs: MON-14919 --- www/class/centreonWidget/Params/Connector/Poller.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/www/class/centreonWidget/Params/Connector/Poller.class.php b/www/class/centreonWidget/Params/Connector/Poller.class.php index fa21c43c247..bb3b2aba393 100644 --- a/www/class/centreonWidget/Params/Connector/Poller.class.php +++ b/www/class/centreonWidget/Params/Connector/Poller.class.php @@ -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';