diff options
author | Andrejs Verza <andrejs.verza@zabbix.com> | 2021-02-25 11:51:56 +0300 |
---|---|---|
committer | Andrejs Verza <andrejs.verza@zabbix.com> | 2021-02-25 11:51:56 +0300 |
commit | e47a02422b235698c34f3bf829a2ad749cddfea6 (patch) | |
tree | fbd027957f5d905c63f79a7ac3dd8d19720e7032 /ui | |
parent | fc476063113aceb76039c7107746fbed9edd27c7 (diff) |
A......... [ZBXNEXT-6309] fixed coding style
Diffstat (limited to 'ui')
-rw-r--r-- | ui/include/classes/api/services/CDashboardGeneral.php | 4 |
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, |