public function reset() { // Check the table activation status first if (!$this->active) { // Activate it with a default value $this->setType(''); } return parent::reset(); }