diff --git a/src/Control/Util/IPUtils.php b/src/Control/Util/IPUtils.php index a51b99919..0d8d4e57c 100644 --- a/src/Control/Util/IPUtils.php +++ b/src/Control/Util/IPUtils.php @@ -1,4 +1,5 @@ */ + namespace SilverStripe\Control\Util; /** @@ -158,7 +160,7 @@ class IPUtils $ip = inet_ntop($packedAddress & inet_pton($mask)); if ($wrappedIPv6) { - $ip = '['.$ip.']'; + $ip = '[' . $ip . ']'; } return $ip;