public function init() { $this->_productchooser = $this->addPreset("ProductChooser", "product", array('module' => $this->getModuleName())); if (!empty($_POST["task"]["new_module_setter"])) { $new_module = $_POST["task"]["new_module_setter"]; } else { $new_module = $this->get("new_module"); } $this->_customModule = $new_module; parent::init(); }