- Fix first rule deleting (#1486140)

release-0.6
alecpl 15 years ago
parent 0dd842dbf5
commit fcc34c0cac

@ -1,5 +1,8 @@
* version 1.7 [2009-09-20]
-----------------------------------------------------------
- Support multiple managesieve hosts using %h variable
in managesieve_host option
in managesieve_host option
- Fix first rule deleting (#1486140)
* version 1.6 [2009-09-08]
-----------------------------------------------------------

@ -264,9 +264,10 @@ class rcube_sieve_script
{
$script = '';
$exts = array();
$idx = 0;
// rules
foreach ($this->content as $idx => $rule)
foreach ($this->content as $rule)
{
$extension = '';
$tests = array();
@ -367,7 +368,8 @@ class rcube_sieve_script
}
$script .= "}\n";
$idx++;
if ($extension && !isset($exts[$extension]))
$exts[$extension] = $extension;
}

@ -7,7 +7,7 @@
* It's clickable interface which operates on text scripts and communicates
* with server using managesieve protocol. Adds Filters tab in Settings.
*
* @version 1.6
* @version 1.7
* @author Aleksander 'A.L.E.C' Machniak <alec@alec.pl>
*
* Configuration (see config.inc.php.dist):

Loading…
Cancel
Save