Use the right variable for IPv6 check

pull/88/head
Thomas Bruederli 12 years ago
parent a2181ee625
commit 6984ab64f7

@ -156,7 +156,7 @@ class rcube_utils
{
// IPv6, but there's no build-in IPv6 support
if (strpos($ip, ':') !== false && !defined('AF_INET6')) {
$parts = explode(':', $domain_part);
$parts = explode(':', $ip);
$count = count($parts);
if ($count > 8 || $count < 2) {

Loading…
Cancel
Save