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/popup.itemtestedit.view.php')
-rw-r--r--ui/app/views/popup.itemtestedit.view.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/app/views/popup.itemtestedit.view.php b/ui/app/views/popup.itemtestedit.view.php
index a3d88f62cce..09ef6be0457 100644
--- a/ui/app/views/popup.itemtestedit.view.php
+++ b/ui/app/views/popup.itemtestedit.view.php
@@ -274,7 +274,7 @@ $form_grid->addItem([
->setId('time')
),
- ($data['preproc_item'] instanceof CDiscoveryRule)
+ ($data['test_type'] == CControllerPopupItemTestEdit::ZBX_TEST_TYPE_LLD)
? null
: (new CFormField((new CCheckBox('not_supported'))->setLabel(_('Not supported'))))
->addClass(CFormField::ZBX_STYLE_FORM_FIELD_FLUID),