Commit 98d98ef8 authored by Ad Schellevis's avatar Ad Schellevis

error in constructor

parent 7d27e7dd
...@@ -57,9 +57,9 @@ class IntegerField extends BaseField ...@@ -57,9 +57,9 @@ class IntegerField extends BaseField
/** /**
* constructor, set absolute min and max values * 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->minimum_value = PHP_INT_MAX*-1;
$this->maximum_value = PHP_INT_MAX ; $this->maximum_value = PHP_INT_MAX ;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment