From 33ecc860f2016d86abb1ff9200ca110ed73bb58f Mon Sep 17 00:00:00 2001 From: Colin Gagnaire Date: Fri, 17 Aug 2018 09:44:23 +0000 Subject: [PATCH] fix(conf): trap generation reindexing pollers id (#6416) Fix trap generation form reindexing pollers id when adding All Pollers entry --- .../configuration/configGenerateTraps/formGenerateTraps.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/include/configuration/configGenerateTraps/formGenerateTraps.php b/www/include/configuration/configGenerateTraps/formGenerateTraps.php index bc992d80879..5eccd99b8bb 100644 --- a/www/include/configuration/configGenerateTraps/formGenerateTraps.php +++ b/www/include/configuration/configGenerateTraps/formGenerateTraps.php @@ -70,7 +70,7 @@ * Display all server options */ if ($n > 1) { - $tab_nagios_server = array_merge(array(0 => _("All Pollers")), $tab_nagios_server); + $tab_nagios_server = array(0 => _("All Pollers")) + $tab_nagios_server; } /*