Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'ui/app/controllers/CControllerHost.php')
-rw-r--r--ui/app/controllers/CControllerHost.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/app/controllers/CControllerHost.php b/ui/app/controllers/CControllerHost.php
index cfec8b61cfd..f135594b070 100644
--- a/ui/app/controllers/CControllerHost.php
+++ b/ui/app/controllers/CControllerHost.php
@@ -217,7 +217,7 @@ abstract class CControllerHost extends CController {
// Sort for paging so we know which IDs go to which page.
CArrayHelper::sort($hosts, [['field' => $filter['sort'], 'order' => $filter['sortorder']]]);
- $view_curl = (new CUrl('zabbix.php'))->setArgument('action', 'host.view');
+ $view_curl = (new CUrl())->setArgument('action', 'host.view');
// Split result array and create paging.
$paging = CPagerHelper::paginate($filter['page'], $hosts, $filter['sortorder'], $view_curl);