When a project has no milestones and the new ticket form is submitted with missing fields PHP displays an error stating there is an undefined index 'milestone' in the Tickets controller.