mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-15 09:04:39 +00:00
src: style sweep
This commit is contained in:
parent
b504bc8763
commit
1e2f93dc3e
@ -146,7 +146,7 @@ class AliasContentField extends BaseField
|
||||
$messages = [];
|
||||
$filter_opts = ["min_range" => 1, "max_range" => 4294967296];
|
||||
foreach ($this->getItems($data) as $asn) {
|
||||
if (filter_var($asn, FILTER_VALIDATE_INT, ["options"=> $filter_opts]) === false) {
|
||||
if (filter_var($asn, FILTER_VALIDATE_INT, ["options" => $filter_opts]) === false) {
|
||||
$messages[] = sprintf(gettext('Entry "%s" is not a valid ASN.'), $asn);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user