diff --git a/core/model/fieldtypes/Varchar.php b/core/model/fieldtypes/Varchar.php index c37fe0335..1c20468aa 100644 --- a/core/model/fieldtypes/Varchar.php +++ b/core/model/fieldtypes/Varchar.php @@ -4,7 +4,7 @@ class Varchar extends DBField { protected $size; function __construct($name, $size = 50) { - $this->size = $size ? $size : 50; + $this->size = $size; parent::__construct($name); } function requireField() {