|
@@ -54,9 +54,9 @@ |
|
|
block discarded – undo |
|
54
|
54
|
|
|
55
|
55
|
$onPageIpAddress = $matches['ipaddress']; |
|
56
|
56
|
|
|
57
|
|
- foreach(array_keys(self::$ipAddress) as $type) { |
|
|
57
|
+ foreach (array_keys(self::$ipAddress) as $type) { |
|
58
|
58
|
if (array_key_exists($type, self::$ipAddress)) { |
|
59
|
|
- $result = array_filter(self::$ipAddress[$type], function ($ipAddress) use ($onPageIpAddress) { |
|
|
59
|
+ $result = array_filter(self::$ipAddress[$type], function($ipAddress) use ($onPageIpAddress) { |
|
60
|
60
|
return in_array($ipAddress, $onPageIpAddress); |
|
61
|
61
|
}); |
|
62
|
62
|
if (count($result) !== 0) { |
Please login to merge, or discard this patch.