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/views/monitoring.discovery.view.php')
-rw-r--r--ui/app/views/monitoring.discovery.view.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/app/views/monitoring.discovery.view.php b/ui/app/views/monitoring.discovery.view.php
index bd156a5824f..76cf3e5db47 100644
--- a/ui/app/views/monitoring.discovery.view.php
+++ b/ui/app/views/monitoring.discovery.view.php
@@ -30,7 +30,7 @@ $this->addJsFile('layout.mode.js');
$this->enableLayoutModes();
$web_layout_mode = $this->getLayoutMode();
-$widget = (new CWidget())
+$html_page = (new CHtmlPage())
->setTitle(_('Status of discovery'))
->setWebLayoutMode($web_layout_mode)
->setDocUrl(CDocHelper::getUrl(CDocHelper::MONITORING_DISCOVERY_VIEW))
@@ -77,4 +77,4 @@ $discovery_table = CScreenBuilder::getScreen([
]
])->get();
-$widget->addItem($discovery_table)->show();
+$html_page->addItem($discovery_table)->show();