Explorar o código

Shouldn't let PHP generate an error in this case, if we are handling a
connection failure

jangliss %!s(int64=21) %!d(string=hai) anos
pai
achega
c8be9a65a7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      functions/imap_general.php

+ 1 - 1
functions/imap_general.php

@@ -563,7 +563,7 @@ function sqimap_create_stream($server,$port,$tls=false) {
         }
     }
 
-    $imap_stream = fsockopen($server, $port, $error_number, $error_string, 15);
+    $imap_stream = @fsockopen($server, $port, $error_number, $error_string, 15);
 
     /* Do some error correction */
     if (!$imap_stream) {