diff options
author | Aleksander Machniak <alec@alec.pl> | 2014-04-16 18:58:25 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2014-04-16 18:58:25 +0200 |
commit | 701d7a369b36813fd0673e0f4e373df6951e1c78 (patch) | |
tree | dc8ee35410385452e8dcfa9ade8f7843ce234025 /plugins/managesieve/lib/Roundcube | |
parent | ee3dd89c04a4359d39f6c10215aae5551f9914cf (diff) |
Fix compat. with PHP 5.2. (#1489813)
Diffstat (limited to 'plugins/managesieve/lib/Roundcube')
-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 636b5fcc1..aa65966c4 100644 --- a/plugins/managesieve/lib/Roundcube/rcube_sieve_vacation.php +++ b/plugins/managesieve/lib/Roundcube/rcube_sieve_vacation.php @@ -146,7 +146,7 @@ class rcube_sieve_vacation extends rcube_sieve_engine if (!$error) { $rule = $this->vacation; $rule['type'] = 'if'; - $rule['name'] = $rule['name'] ?: $this->plugin->gettext('vacation'); + $rule['name'] = $rule['name'] ? $rule['name'] : $this->plugin->gettext('vacation'); $rule['disabled'] = $status == 'off'; $rule['actions'][0] = $vacation_action; $rule['tests'] = $vacation_tests; |