From ca9060819d9199f59aa649eaa6a41a10db0b8f49 Mon Sep 17 00:00:00 2001
From: Guillaume28 <gbaldo@centreon.com>
Date: Wed, 7 Mar 2018 15:02:04 +0100
Subject: [PATCH] fix(listHost): Wrong parameter

---
 www/include/configuration/configObject/host/listHost.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/www/include/configuration/configObject/host/listHost.php b/www/include/configuration/configObject/host/listHost.php
index 82b77327f7..f431ff834f 100644
--- a/www/include/configuration/configObject/host/listHost.php
+++ b/www/include/configuration/configObject/host/listHost.php
@@ -274,12 +274,12 @@ for ($i = 0; $host = $DBRESULT->fetchRow(); $i++) {
 
         if ($host["host_activate"]) {
             $moptions = "<a href='main.php?p=" . $p . "&host_id=" . $host['host_id'] . "&o=u&limit=" . $limit
-                . "&num=" . $num . "&search=" . $search
+                . "&num=" . $num . "&searchH=" . $search
                 . "'><img src='img/icons/disabled.png' class='ico-14 margin_right' border='0' alt='"
                 . _("Disabled") . "'></a>";
         } else {
             $moptions = "<a href='main.php?p=" . $p . "&host_id=" . $host['host_id'] . "&o=s&limit=" . $limit
-                . "&num=" . $num . "&search=" . $search
+                . "&num=" . $num . "&searchH=" . $search
                 . "'><img src='img/icons/enabled.png' class='ico-14 margin_right' border='0' alt='"
                 . _("Enabled") . "'></a>";
         }
-- 
GitLab