/** * @since version 0.85 * * @see CommonDBTM::getEmpty() **/ function getEmpty() { parent::getEmpty(); //Keep the same behavior as in previous versions $this->fields['open_window'] = 1; }
function getEmpty() { global $CFG_GLPI; parent::getEmpty(); $this->fields["is_helpdesk_visible"] = $CFG_GLPI["default_software_helpdesk_visible"]; }