KONA, Hawaii - A passenger on board a flight from Phoenix to Kona was asked to urinate in plastic bags and bottles after the toilets malfunctioned.

That's according to KPNX in Phoenix, AZ. The debacle happened on American Airlines flight 663 last Friday. The airline said the lavatories were working when the plane departed for its six hour flight from Phoenix to Kona. Two hours before landing, a passenger apparently flushed a diaper down the toilet, which caused the lavatories to malfunction, the airline said in a statement to Island News. A woman on board the flight told KPNX that airline employees offered her a plastic bag to urinate in.

"At American, lavatories must be working properly prior to departure," the airline explained. "If an American flight is in the air, and all lavatories become inoperative, the flight will divert to the nearest suitable airport in order for maintenance to rectify the situation. Due to the location of the aircraft, the flight continued to its intended destination."

American Airlines said the lavatories were fixed after landing in Kona. All 187 passengers were given 30,000 airline miles, which is a free roundtrip flight, the airline said.