From 3bb12e75f763e9eca5e07c7022fa1f74dde0b532 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Sat, 7 Jan 2017 10:51:21 +0100 Subject: [PATCH] Add class attribute for preferences sections list --- program/steps/settings/func.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/program/steps/settings/func.inc b/program/steps/settings/func.inc index f2c3d0038..f6c6f06c0 100644 --- a/program/steps/settings/func.inc +++ b/program/steps/settings/func.inc @@ -170,6 +170,8 @@ function rcmail_user_prefs($current = null) $no_override = array_flip((array)$RCMAIL->config->get('dont_override')); foreach ($sections as $idx => $sect) { + $sections[$idx]['class'] = $idx; + if ($current && $sect['id'] != $current) { continue; }