The 18-month-old had to spend four days in hospital after the incident.