From 98d98ef81414cbb667ea44f41f5e5f13e85bcbeb Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Thu, 5 Mar 2015 15:12:00 +0100 Subject: [PATCH] error in constructor --- .../mvc/app/models/OPNsense/Base/FieldTypes/IntegerField.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ; }