Browse Source

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

Jimmy Conner 21 năm trước cách đây
mục cha
commit
baf61c3bd5
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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]";