From: Brion Vibber Date: Fri, 9 Apr 2004 09:19:47 +0000 (+0000) Subject: Suppress notice if port not specified (80 is default) X-Git-Tag: 1.3.0beta1~532 X-Git-Url: https://git.cyclocoop.org//%22?a=commitdiff_plain;h=09f46cfa0e7a087fe66601d7fa94f5f4d84f1bda;p=lhc%2Fweb%2Fwiklou.git Suppress notice if port not specified (80 is default) --- diff --git a/includes/SquidUpdate.php b/includes/SquidUpdate.php index be25eda3ce..462de3fb0e 100644 --- a/includes/SquidUpdate.php +++ b/includes/SquidUpdate.php @@ -83,7 +83,7 @@ class SquidUpdate { while ($so < $sockspersq && !$failed) { if ($so == 0) { /* first socket for this server, do the tests */ - list($server, $port) = explode(':', $wgSquidServers[$ss]); + @list($server, $port) = explode(':', $wgSquidServers[$ss]); if(!isset($port)) $port = 80; $socket = @fsockopen($server, $port, $error, $errstr, 3); if (!$socket) {