Explorar el Código

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

Jimmy Conner hace 21 años
padre
commit
baf61c3bd5
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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]";