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:
authorGregory Chalenko <gregory.chalenko@zabbix.com>2020-09-04 12:59:42 +0300
committerGregory Chalenko <gregory.chalenko@zabbix.com>2020-09-04 12:59:42 +0300
commit13fed375aca28268fc943d4b6738c9da0f4dba23 (patch)
tree6396230a39bcea709434f645dbbd8c0ff4fac163 /ui/app/controllers/CControllerHost.php
parent2f261f6f7d8430cfd93086fa0e1f803b78c886d9 (diff)
..F....... [ZBXNEXT-710] fixed monitoring.hosts kiosk mode; fixed undefined indexes in input; added modified status to tabfilter when selected filter is updated from user input
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 6d6b5f874bd..f07dbe47801 100644
--- a/ui/app/controllers/CControllerHost.php
+++ b/ui/app/controllers/CControllerHost.php
@@ -362,7 +362,7 @@ abstract class CControllerHost extends CController {
* @return array
*/
protected function cleanInput(array $input): array {
- if ($input['tags']) {
+ if (array_key_exists('tags', $input) && $input['tags']) {
$input['tags'] = array_filter($input['tags'], function($tag) {
return $tag['tag'] !== '' && $tag['value'] !== '';
});