summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGunnar Wrobel <wrobel@pardus.de>2010-04-07 07:24:05 (GMT)
committerGunnar Wrobel <wrobel@pardus.de>2010-04-07 07:24:05 (GMT)
commit3dfc6be617f22500e903a99e89e9339d6833e250 (patch)
treeb0ef423c636f639e5ede318a02425f1b8d750fd0
parent9ac9e725da4dc1238e8debfbdcf3b05ea4389de1 (diff)
downloadkolab-webadmin-3dfc6be617f22500e903a99e89e9339d6833e250.tar.gz
If the redirection is not activated then the address is missing now. Adapt keep check.
-rw-r--r--lib/KolabAdmin/Sieve/Segment/Forward.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/KolabAdmin/Sieve/Segment/Forward.php b/lib/KolabAdmin/Sieve/Segment/Forward.php
index 7acf993..c3febc1 100644
--- a/lib/KolabAdmin/Sieve/Segment/Forward.php
+++ b/lib/KolabAdmin/Sieve/Segment/Forward.php
@@ -141,7 +141,7 @@ extends KolabAdmin_Sieve_Segment
public function parseKeepOnServer($script)
{
- if (preg_match('/redirect "[^\"]*"; keep;/s', $script, $regs)) {
+ if (preg_match('/keep;/s', $script, $regs)) {
$this->_keep_on_server = true;
} else {
$this->_keep_on_server = false;