Fixed typo
authorindiri69 <indiri69@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 23 Aug 2002 17:41:20 +0000 (17:41 +0000)
committerindiri69 <indiri69@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 23 Aug 2002 17:41:20 +0000 (17:41 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3443 7612ce4b-ef26-0410-bec9-ea0150e637f0

plugins/filters/filters.php

index 6357befddc9d6e9dfbbb1716c29116b8989e4932..2f3ac1a59fa5eeb467f27ca025e6a7a626cda228 100644 (file)
@@ -237,8 +237,7 @@ function user_filters($imap_stream) {
     }
 }
 
-function filter_search_and_delete($imap, $where, $what, $where_to, $user_scan, $del_id)
-{
+function filter_search_and_delete($imap, $where, $what, $where_to, $user_scan, $del_id) {
     global $languages, $squirrelmail_language, $allow_charset_search, $uid_support;
     if ($user_scan == 'new') {
         $category = 'UNSEEN';
@@ -262,7 +261,7 @@ function filter_search_and_delete($imap, $where, $what, $where_to, $user_scan, $
     }
 
     /* read data back from IMAP */
-    $read = sqimap_run_command($imap, $search_str, true, $reponse, $message, $uid_support);
+    $read = sqimap_run_command($imap, $search_str, true, $response, $message, $uid_support);
 
     // This may have problems with EIMS due to it being goofy
 
@@ -273,7 +272,7 @@ function filter_search_and_delete($imap, $where, $what, $where_to, $user_scan, $
         if (sqimap_mailbox_exists($imap, $where_to)) {
             for ($j=2; $j < count($ids); $j++) {
                 $id = trim($ids[$j]);
-               $del_id[] = $id;
+                $del_id[] = $id;
                 sqimap_messages_copy ($imap, $id, $id, $where_to);
                 sqimap_messages_flag ($imap, $id, $id, 'Deleted',false);
             }