From 701d7a369b36813fd0673e0f4e373df6951e1c78 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Wed, 16 Apr 2014 18:58:25 +0200 Subject: Fix compat. with PHP 5.2. (#1489813) --- plugins/managesieve/lib/Roundcube/rcube_sieve_vacation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3