@@ -57,7 +57,7 @@ |
||
57 | 57 | // Add country data to each user based on their host IP |
58 | 58 | foreach ($results as $user) { |
59 | 59 | $position = null; |
60 | - if (! empty($user->host) && filter_var($user->host, FILTER_VALIDATE_IP)) { |
|
60 | + if (!empty($user->host) && filter_var($user->host, FILTER_VALIDATE_IP)) { |
|
61 | 61 | $position = Location::get($user->host); |
62 | 62 | } |
63 | 63 | $user->country_name = $position ? $position->countryName : null; |