diff --git a/src/opnsense/mvc/app/models/OPNsense/Base/FieldTypes/IntegerField.php b/src/opnsense/mvc/app/models/OPNsense/Base/FieldTypes/IntegerField.php index 7a7108574..66a9c6e35 100644 --- a/src/opnsense/mvc/app/models/OPNsense/Base/FieldTypes/IntegerField.php +++ b/src/opnsense/mvc/app/models/OPNsense/Base/FieldTypes/IntegerField.php @@ -57,9 +57,9 @@ class IntegerField extends BaseField /** * constructor, set absolute min and max values */ - public function __construct() + public function __construct($ref = null, $tagname = null) { - parent:: __construct(); + parent:: __construct($ref, $tagname); $this->minimum_value = PHP_INT_MAX*-1; $this->maximum_value = PHP_INT_MAX ; }