Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/roundcube/roundcubemail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <machniak@kolabsys.com>2018-06-27 12:44:49 +0300
committerAleksander Machniak <machniak@kolabsys.com>2018-06-27 12:44:49 +0300
commit631ae17ee326446e8e7cb104fd7de865fbdac4dc (patch)
tree4889f71e2151ece654f894cb9425ad96cc1c075d /program
parent18f252a63b7a3453fda8a8c73b361f7a5a9b57b3 (diff)
Allow plugins to set class attribute for preferences section
Diffstat (limited to 'program')
-rw-r--r--program/steps/settings/func.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/settings/func.inc b/program/steps/settings/func.inc
index 1b28d1a7a..00c9f71d1 100644
--- a/program/steps/settings/func.inc
+++ b/program/steps/settings/func.inc
@@ -157,7 +157,7 @@ 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;
+ $sections[$idx]['class'] = $sect['class'] ?: $idx;
if ($current && $sect['id'] != $current) {
continue;