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 <alec@alec.pl>2019-06-29 16:59:24 +0300
committerAleksander Machniak <alec@alec.pl>2019-06-29 16:59:24 +0300
commit881c0ec0da4bb60aaa88a0bd19913695f7c4d3ef (patch)
tree54897eda81877b7293a10ae60c6660c24fa2691b /plugins
parenta991e3181cc77ed2efdec7a2edfb88cd4635de02 (diff)
Avoid empty entry in rule selector
Diffstat (limited to 'plugins')
-rw-r--r--plugins/managesieve/lib/Roundcube/rcube_sieve_vacation.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/managesieve/lib/Roundcube/rcube_sieve_vacation.php b/plugins/managesieve/lib/Roundcube/rcube_sieve_vacation.php
index c59459e1f..0792f115b 100644
--- a/plugins/managesieve/lib/Roundcube/rcube_sieve_vacation.php
+++ b/plugins/managesieve/lib/Roundcube/rcube_sieve_vacation.php
@@ -157,7 +157,7 @@ class rcube_sieve_vacation extends rcube_sieve_engine
));
}
else if ($active) {
- $list[$idx] = $rule['name'];
+ $list[$idx] = $rule['name'] ?: ('#' . ($idx + 1));
}
}