diff options
author | Mārtiņš Tālbergs <martins.talbergs@zabbix.com> | 2021-03-10 09:48:58 +0300 |
---|---|---|
committer | Mārtiņš Tālbergs <martins.talbergs@zabbix.com> | 2021-03-10 09:48:58 +0300 |
commit | f09f9a482c10bbd70d7b181a848403e36cb5359c (patch) | |
tree | e868c6ca1cd124bc34f241d8e5b602db171db133 /ui | |
parent | 379990a1951cf1be47a4cf41c88968e593acbfe9 (diff) |
..F....... [ZBXNEXT-6288] fixed converter v44 to v50
Diffstat (limited to 'ui')
-rw-r--r-- | ui/include/classes/import/converters/C44ImportConverter.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/include/classes/import/converters/C44ImportConverter.php b/ui/include/classes/import/converters/C44ImportConverter.php index 2c48c101b8e..f4f0aa8cb94 100644 --- a/ui/include/classes/import/converters/C44ImportConverter.php +++ b/ui/include/classes/import/converters/C44ImportConverter.php @@ -38,6 +38,10 @@ class C44ImportConverter extends CConverter { $data['zabbix_export']['hosts'] = $this->convertSnmpFieldsToInterfaces($data['zabbix_export']['hosts']); } + if (array_key_exists('screens', $data['zabbix_export'])) { + unset($data['zabbix_export']['screens']); + } + $data['zabbix_export'] = $this->sanitizeSnmpFields($data['zabbix_export']); return $data; |