What happened
The FAA’s narrative, in sentence case. The FAA writes it in capitals and removes private details.
(-23) N8771A, CL-600-2B19, operating as pinnacle airlines flight 5798 was inbound to Omaha, NE, when the crew declared an emergency due to a flap problem. The crew landed the airplane safely. The crew told maintenance that the flaps were set at 20 degrees, and indicating 20 degrees, when they received a flaps fail message. Maintenance found the flaps at the zero degree position. The aircraft was ferried to memphis, TN, in accordance with airworthiness directive 2006-12-21.
As the FAA filed it
(-23) N8771A, CL-600-2B19, OPERATING AS PINNACLE AIRLINES FLIGHT 5798 WAS INBOUND TO OMAHA, NE, WHEN THE CREW DECLARED AN EMERGENCY DUE TO A FLAP PROBLEM. THE CREW LANDED THE AIRPLANE SAFELY. THE CREW TOLD MAINTENANCE THAT THE FLAPS WERE SET AT 20 DEGREES, AND INDICATING 20 DEGREES, WHEN THEY RECEIVED A FLAPS FAIL MESSAGE. MAINTENANCE FOUND THE FLAPS AT THE ZERO DEGREE POSITION. THE AIRCRAFT WAS FERRIED TO MEMPHIS, TN, IN ACCORDANCE WITH AIRWORTHINESS DIRECTIVE 2006-12-21.