Time to stop coding for tonight. Making this kind of terrible bugs is bad.
authorstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 13 Sep 2002 21:47:39 +0000 (21:47 +0000)
committerstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 13 Sep 2002 21:47:39 +0000 (21:47 +0000)
Thnx Seth Randall for noticing it.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3664 7612ce4b-ef26-0410-bec9-ea0150e637f0

plugins/spamcop/spamcop.php

index f43543b..06168ba 100644 (file)
@@ -12,7 +12,7 @@ require_once(SM_PATH . 'functions/imap.php');
        $imapPort, 0);
     sqimap_mailbox_select($imap_stream, $mailbox);
     $sid = sqimap_session_id($uid_support)
        $imapPort, 0);
     sqimap_mailbox_select($imap_stream, $mailbox);
     $sid = sqimap_session_id($uid_support)
-    fputs($imap_stream, '$sid FETCH ' . $passed_id . ' RFC822' . "\r\n");
+    fputs($imap_stream, $sid.' FETCH ' . $passed_id . ' RFC822' . "\r\n");
     
     $read = sqimap_read_data($imap_stream, $sid, true, $response, $message);
     array_shift($read);
     
     $read = sqimap_read_data($imap_stream, $sid, true, $response, $message);
     array_shift($read);