mirror of
https://github.com/Respect/Validation.git
synced 2024-06-04 14:52:17 +02:00
Cast integer to use with long2ip function
This commit is contained in:
parent
e5fdd87a16
commit
c044b8bb09
|
@ -36,7 +36,7 @@ class IpException extends ValidationException
|
|||
if (isset($range['max'])) {
|
||||
$message .= '-'.$range['max'];
|
||||
} else {
|
||||
$message .= '/'.long2ip($range['mask']);
|
||||
$message .= '/'.long2ip((int) $range['mask']);
|
||||
}
|
||||
|
||||
$params['range'] = $message;
|
||||
|
|
Loading…
Reference in a new issue