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
path: root/ui
diff options
context:
space:
mode:
authorAndrejs Verza <andrejs.verza@zabbix.com>2021-02-25 11:51:56 +0300
committerAndrejs Verza <andrejs.verza@zabbix.com>2021-02-25 11:51:56 +0300
commite47a02422b235698c34f3bf829a2ad749cddfea6 (patch)
treefbd027957f5d905c63f79a7ac3dd8d19720e7032 /ui
parentfc476063113aceb76039c7107746fbed9edd27c7 (diff)
A......... [ZBXNEXT-6309] fixed coding style
Diffstat (limited to 'ui')
-rw-r--r--ui/include/classes/api/services/CDashboardGeneral.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/include/classes/api/services/CDashboardGeneral.php b/ui/include/classes/api/services/CDashboardGeneral.php
index 6400db39984..2156402ba17 100644
--- a/ui/include/classes/api/services/CDashboardGeneral.php
+++ b/ui/include/classes/api/services/CDashboardGeneral.php
@@ -564,8 +564,8 @@ abstract class CDashboardGeneral extends CApiService {
continue;
}
- foreach ($dashboard['pages'] as $dashboard_page_index => $dashboard_page) {
- $dashboard_page['sortorder'] = $dashboard_page_index;
+ foreach ($dashboard['pages'] as $index => $dashboard_page) {
+ $dashboard_page['sortorder'] = $index;
if (array_key_exists('dashboard_pageid', $dashboard_page)) {
$upd_dashboard_page = DB::getUpdatedValues('dashboard_page', $dashboard_page,