A few spelling corrections
authorcigamit <cigamit@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 25 Mar 2003 04:42:04 +0000 (04:42 +0000)
committercigamit <cigamit@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 25 Mar 2003 04:42:04 +0000 (04:42 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4671 7612ce4b-ef26-0410-bec9-ea0150e637f0

plugins/filters/filters.php

index 89a89ba..eea3e1c 100644 (file)
@@ -325,12 +325,12 @@ function spam_filters($imap_stream) {
     // flags for each message.  Kinda big.
     if ($filters_spam_scan != 'new') {
         $read = sqimap_run_command($imap_stream, 'FETCH 1:* (FLAGS BODY.PEEK[HEADER.FIELDS ' .
-            '(RECEIVED)])', true, $reponse, $message, $uid_support);
+            '(RECEIVED)])', true, $response, $message, $uid_support);
     } else {
-        $read = sqimap_run_command($imap_stream, 'SEARCH UNSEEN', true, $reponse, $message, $uid_support);
+        $read = sqimap_run_command($imap_stream, 'SEARCH UNSEEN', true, $response, $message, $uid_support);
         if ($response != 'OK' || trim($read[0]) == '* SEARCH') {
            $read = sqimap_run_command($imap_stream, 'FETCH 1:* (FLAGS BODY.PEEK[HEADER.FIELDS ' .
-            '(RECEIVED)])', true, $reponse, $message, $uid_support);
+            '(RECEIVED)])', true, $response, $message, $uid_support);
         } else {
            $read[0] = trim($read[0]);
             $i = 0;
@@ -342,7 +342,7 @@ function spam_filters($imap_stream) {
             $imap_query .= $Chunks[count($Chunks)-1];
             $imap_query .= ' (FLAGS BODY.PEEK[HEADER.FIELDS ';
             $imap_query .= '(RECEIVED)])';//\r\n";
-           $read = sqimap_run_command($imap_stream,$imap_query, true, $reponse, $message, $uid_support);
+           $read = sqimap_run_command($imap_stream,$imap_query, true, $response, $message, $uid_support);
         }
     }