Skip to content
Snippets Groups Projects
  • Jared Hancock's avatar
    Ensure unique form entries are made with each ticket · b25fa2ce
    Jared Hancock authored
    Fixes a case where multiple tickets are created in one request (such as a
    cron job triggering multiple email fetches). The TicketForm::getInstance()
    called in Ticket::create() used a singleton pattern to retrieve a cached
    instance of the TicketForm. In the case of ticket creation, each ticket
    needs a new TicketForm entry instance.
    b25fa2ce