error in constructor

This commit is contained in:
Ad Schellevis 2015-03-05 15:12:00 +01:00
parent 7d27e7dd6f
commit 98d98ef814

View File

@ -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 ;
}