/** * @since version 0.85 * * @see CommonDBTM::getEmpty() **/ function getEmpty() { parent::getEmpty(); //initialize is_visible_* fields at true to keep the same behavior as in older versions foreach ($this->visibility_fields as $type => $field) { $this->fields[$field] = 1; } }