- Managesieve: Fix requires generation for multiple actions (#1486397)

release-0.6
alecpl 15 years ago
parent 5e3d6c2384
commit a2cb306981

@ -1,6 +1,7 @@
CHANGELOG RoundCube Webmail CHANGELOG RoundCube Webmail
=========================== ===========================
- Managesieve: Fix requires generation for multiple actions (#1486397)
- Fix LDAP problem with special characters in RDN (#1486320) - Fix LDAP problem with special characters in RDN (#1486320)
- Improved handling of message parts of type message/rfc822 - Improved handling of message parts of type message/rfc822
- Updated TinyMCE to 3.2.7 - Updated TinyMCE to 3.2.7

@ -1,3 +1,5 @@
- Fix requires generation when many modules are used
* version 2.0 [2009-11-02] * version 2.0 [2009-11-02]
----------------------------------------------------------- -----------------------------------------------------------
- Added 'managesieve_debug' option - Added 'managesieve_debug' option

@ -448,6 +448,7 @@ class rcube_sieve_script
// action(s) // action(s)
foreach ($rule['actions'] as $action) foreach ($rule['actions'] as $action)
{
switch ($action['type']) switch ($action['type'])
{ {
case 'fileinto': case 'fileinto':
@ -492,11 +493,12 @@ class rcube_sieve_script
break; break;
} }
if ($extension && !isset($exts[$extension]))
$exts[$extension] = $extension;
}
$script .= "}\n"; $script .= "}\n";
$idx++; $idx++;
if ($extension && !isset($exts[$extension]))
$exts[$extension] = $extension;
} }
// requires // requires

Loading…
Cancel
Save