mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-19 02:54:38 +00:00
PortField, mixed types seem to invalidate the validator.... for https://github.com/opnsense/core/issues/2916
This commit is contained in:
parent
1c683e68ca
commit
9349cffb24
@ -107,7 +107,7 @@ class PortField extends BaseField
|
||||
self::$internalOptionList = array("any") + self::$wellknownservices;
|
||||
|
||||
for ($port=1; $port <= 65535; $port++) {
|
||||
self::$internalOptionList[] = $port;
|
||||
self::$internalOptionList[] = (string)$port;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user