23098127a8
The last-resort fallback hardcoded 'wedding', which breaks when the admin has disabled that type. resolveDefaultEventType now prefers the generic 'other' catch-all when active, else the first active type by display order, and only uses a literal as a final guard if the catalog is empty/unreadable. The chosen quote type and the crm_default_event_type setting still take precedence.