issue #466, sql typo

This commit is contained in:
redmatrix
2016-07-28 13:10:19 -07:00
parent 02fc082e45
commit 4ce8f965aa
3 changed files with 3 additions and 3 deletions

View File

@@ -159,7 +159,7 @@ class ASN_BASE {
}
$length = $tempLength;
}
$data = substr($string, $p, $length);
$data = substr($string, $p, intval($length));
$parsed[] = self::parseASNData($type, $data, $level, $maxLevels);
$p = $p + $length;
}