Sfoglia il codice sorgente

Suppress the PHP error message if server is not reachable
(We output our own Error Message about it later)

Jimmy Conner 21 anni fa
parent
commit
baf61c3bd5
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      plugins/mail_fetch/class.POP3.php

+ 1 - 1
plugins/mail_fetch/class.POP3.php

@@ -90,7 +90,7 @@ class POP3 {
             return false;
         }
 
-        $fp = fsockopen("$server", $port, $errno, $errstr);
+        $fp = @fsockopen("$server", $port, $errno, $errstr);
 
         if(!$fp) {
             $this->ERROR = _("POP3 connect:") . ' ' . _("Error ") . "[$errno] [$errstr]";