Avoid empty entry in rule selector

pull/6828/head
Aleksander Machniak 5 years ago
parent a991e3181c
commit 881c0ec0da

@ -157,7 +157,7 @@ class rcube_sieve_vacation extends rcube_sieve_engine
)); ));
} }
else if ($active) { else if ($active) {
$list[$idx] = $rule['name']; $list[$idx] = $rule['name'] ?: ('#' . ($idx + 1));
} }
} }

Loading…
Cancel
Save