R Robert9 Well-known member Jul 19, 2025 #101 PHP: protected function _preSave() { parent::_preSave(); if ($this->field_type !== 'location') { $this->location_options = []; } }
PHP: protected function _preSave() { parent::_preSave(); if ($this->field_type !== 'location') { $this->location_options = []; } }