diff options
author | Aleksander Machniak <alec@alec.pl> | 2019-06-29 16:59:24 +0300 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2019-06-29 16:59:24 +0300 |
commit | 881c0ec0da4bb60aaa88a0bd19913695f7c4d3ef (patch) | |
tree | 54897eda81877b7293a10ae60c6660c24fa2691b | |
parent | a991e3181cc77ed2efdec7a2edfb88cd4635de02 (diff) |
Avoid empty entry in rule selector
-rw-r--r-- | plugins/managesieve/lib/Roundcube/rcube_sieve_vacation.php | 2 |
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)); } } |