diff --git a/core/model/fieldtypes/Int.php b/core/model/fieldtypes/Int.php index 34f600a09..8b2e8913b 100644 --- a/core/model/fieldtypes/Int.php +++ b/core/model/fieldtypes/Int.php @@ -2,7 +2,7 @@ class Int extends DBField { - function __construct($name, $defaultVal = 0) { print "Int $name default $defaultVal
\n"; + function __construct($name, $defaultVal = 0) { $this->defaultVal = is_int($defaultVal) ? $defaultVal : 0;