Thomas Bruederli
2013-01-23 293a5798af154efb75d0f467639273452e35477e
Use the right variable for IPv6 check
1 files modified
2 ■■■ changed files
program/lib/Roundcube/rcube_utils.php 2 ●●● patch | view | raw | blame | history
program/lib/Roundcube/rcube_utils.php
@@ -156,7 +156,7 @@
    {
        // 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) {