浏览代码

Time to stop coding for tonight. Making this kind of terrible bugs is bad.
Thnx Seth Randall for noticing it.

stekkel 23 年之前
父节点
当前提交
14bdc3e8f9
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      plugins/spamcop/spamcop.php

+ 1 - 1
plugins/spamcop/spamcop.php

@@ -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)
-    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);