[horde] Bug in CVS head sieve INGO module

Paul Wagland paul at kungfoocoder.org
Wed May 12 18:06:08 PDT 2004


['match-type'] = ':matches';
                         if ($use_address_test){
-                            $vals['addresses'] .= '*';
+                            $vals['addresses'] = '*' . $vals['addresses'];
                             $tmp = &new Sieve_Test_Address($vals);
                         } else {
-                            $vals['strings'] .= '*';
+                            $vals['strings'] = '*' . $vals['strings'];
                             $tmp = &new Sieve_Test_Header($vals);
                         }
                         $test->addTest($tmp);
@@ -613,10 +613,10 @@
                     case 'not ends with':
                         $vals['match-type'] = ':matches';
                         if ($use_address_test){
-                            $vals['addresses'] .= '*';
+                            $vals['addresses'] = '*' . $vals['addresses'];
                             $tmp = &new Sieve_Test_Address($vals);
                         } else {
-                            $vals['strings'] .= '*';
+                            $vals['strings'] = '*' . $vals['strings'];
                             $tmp = &new Sieve_Test_Header($vals);
                         }
                         $test->addTest(new Sieve_Test_Not($tmp));



More information about the horde mailing list