Browse Source

Update 'classes/tools.class.php'

Stortebeker 6 years ago
parent
commit
57f484ebff
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      classes/tools.class.php

+ 1
- 1
classes/tools.class.php View File

@@ -296,7 +296,7 @@ class Tools {
296 296
   */
297 297
   public static function check_cidr_range($CheckIP, $Subnet) {
298 298
     $IP = ip2long($CheckIP);
299
-    $CIDR = split('/', $Subnet);
299
+    $CIDR = preg_split('/', $Subnet);
300 300
     $SubnetIP = ip2long($CIDR[0]);
301 301
     $SubnetMaskBits = 32 - $CIDR[1];
302 302
 

Loading…
Cancel
Save