[ingo] [PATCH] fix List-* headers being translated for vacation
    Etienne Goyer 
    etienne.goyer at linuxquebec.com
       
    Mon Dec 15 10:31:25 PST 2003
    
    
  
Hi,
The following trivial patch fix a problem where the translation of 
List-* headers are being used in the script instead of the real List-*
headers.
--- lib/Script/sieve.php.orig   Mon Dec 15 13:29:55 2003
+++ lib/Script/sieve.php        Mon Dec 15 13:30:13 2003
@@ -297,7 +297,7 @@
                 $action[] = &new Sieve_Action_Vacation($vals);
                 if ($vacation->getVacationIgnorelist()) {
-                    $tmp = &new Sieve_Test_Exists(array('headers' => implode("\n", $listHeaders)));
+                    $tmp = &new Sieve_Test_Exists(array('headers' => implode("\n", array_keys($listHeaders))));
                     $tests[] = &new Sieve_Test_Not($tmp);
                     $vals = array('headers' => 'Precedence',
                                   'match-type' => ':is',
Thanks !
-- 
Etienne Goyer                    Linux Québec Technologies Inc.
http://www.LinuxQuebec.com       etienne.goyer at linuxquebec.com
    
    
More information about the ingo
mailing list