X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/modifier.php?a=blobdiff_plain;f=includes%2FProxyLookup.php;h=7450bb91dc73e53b66b06857ad27e8174662ed0e;hb=398d8e843a72c39c21f6c74e4f43fda413858a13;hp=3a3243a5d61a3da8e0a6f1876e11bcf6f76616c0;hpb=7874fc4bec845ad92960b07e969c65f3c3fe74f2;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/ProxyLookup.php b/includes/ProxyLookup.php index 3a3243a5d6..7450bb91dc 100644 --- a/includes/ProxyLookup.php +++ b/includes/ProxyLookup.php @@ -19,7 +19,7 @@ * @file */ -use IPSet\IPSet; +use Wikimedia\IPSet; /** * @since 1.28 @@ -58,7 +58,7 @@ class ProxyLookup { */ public function isConfiguredProxy( $ip ) { // Quick check of known singular proxy servers - if ( in_array( $ip, $this->proxyServers ) ) { + if ( in_array( $ip, $this->proxyServers, true ) ) { return true; }