Explorar o código

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

stekkel %!s(int64=23) %!d(string=hai) anos
pai
achega
14bdc3e8f9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);