A Rome airport says a Ryanair flight has made an emergency landing there after a warning light indicated a problem with an undercarriage, but the plane landed safely and nobody was injured.

The Leonardo da Vinci airport said the plane, despite the warning light, did not have any problems with the undercarriage during its landing Friday.

It says the plane from Bergamo, near Milan, had been scheduled to land at Rome's Ciampino airport, but changed its plans because the Leonardo da Vinci airport was closer.

None of the about 160 people aboard the Boeing 737-800 were hurt.

Earlier this week, a Ryanair plane made an emergency landing in central France after suddenly losing cabin pressure. More than two dozen people were hospitalized.