Updated

An American Airlines flight bound for San Juan, Puerto Rico, has returned to Boston for an emergency landing about an hour after takeoff after the smell of smoke was detected in a bathroom.

American Airlines spokesman Tim Wagner said Flight 1937 returned Saturday to Boston's Logan International Airport at 9:45 a.m. The smell of smoke was discovered in a bathroom in the rear of the aircraft, he said.

None of the 185 people on board were injured, according to Wagner.

Maintenance workers are examining the plane, and the flight has been canceled.

Wagner said passengers have been rerouted to other flights.

Earlier this week, an Air France flight out of Boston heading to Paris was forced to return after a warning light flashed for one of its engines.